mirror of
https://github.com/LamGC/Oracle-Sentry.git
synced 2025-07-06 07:17:27 +00:00
feat(ssh): 支持设置首次连接认证策略.
支持更改首次连接认证策略, 以减少确认服务器密钥的工作量(尽管这可能导致后续连接不再安全).
This commit is contained in:
@ -1,8 +1,16 @@
|
||||
oracle:
|
||||
identity:
|
||||
# 身份配置文件的文件名匹配规则.
|
||||
pattern: '.+\.oracle\.ini$'
|
||||
location: "./identity/"
|
||||
# 身份配置文件夹路径.
|
||||
location: './identity/'
|
||||
script:
|
||||
location: "./scripts/"
|
||||
ssh:
|
||||
identityPath: "./config/ssh.config.json"
|
||||
# 脚本文件夹路径.
|
||||
location: './scripts/'
|
||||
ssh:
|
||||
# SSH 认证文件存储路径.
|
||||
identityPath: './config/ssh-auth.json'
|
||||
firstConnection:
|
||||
# 首次连接认证策略
|
||||
# 支持 inquiry(询问) accept(接受) reject(拒绝)
|
||||
authenticationPolicy: 'inquiry'
|
||||
|
Reference in New Issue
Block a user