mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
webconsole: ssh: add keyboard-interactive as an option
For ESXi 6.0 Authentications that can continue: publickey,keyboard-interactive
This commit is contained in:
@@ -132,7 +132,7 @@ func (c *SSHtoolSol) GetCommand() *exec.Cmd {
|
||||
"-oGlobalKnownHostsFile=/dev/null",
|
||||
"-oUserKnownHostsFile=/dev/null",
|
||||
"-oStrictHostKeyChecking=no",
|
||||
"-oPreferredAuthentications=password",
|
||||
"-oPreferredAuthentications=password,keyboard-interactive",
|
||||
"-oPubkeyAuthentication=no", // 密码登录时,避免搜寻秘钥登录
|
||||
"-oNumberOfPasswordPrompts=1",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user