mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-30 17:13:08 +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:
@@ -159,7 +159,7 @@ func (c *SSHtoolSol) GetData(data string) (isShow bool, ouput string, command st
|
||||
"-oGlobalKnownHostsFile=/dev/null",
|
||||
"-oUserKnownHostsFile=/dev/null",
|
||||
"-oStrictHostKeyChecking=no",
|
||||
"-oPreferredAuthentications=password",
|
||||
"-oPreferredAuthentications=password,keyboard-interactive",
|
||||
"-oPubkeyAuthentication=no", //密码登录时,避免搜寻秘钥登录
|
||||
}
|
||||
return true, "", strings.Join(args, " ")
|
||||
|
||||
Reference in New Issue
Block a user