BatchMode
If set to yes, passphrase/password querying will be disabled. ...
PasswordAuthentication
Specifies whether to use password authentication.
The argument to this keyword must be yes (the default) or no.
LoginGraceTime
The server disconnects after this time if the user has not successfully logged in. If the value is 0, there is no time
limit. The default is 120 seconds.
这些选项中的任何一个都可能在客户端起作用,以防止根本询问密码,这似乎应该适用于您的情况。(我假设您可以从一些日志中找到失败的主机并以交互方式重新运行它们。)来自
ssh_config(5)
:所以,
或者
您正在寻找LoginGraceTime在您的
sshd_config
.来自
sshd_config(5)
: