The server first tries to authenticate you by public key. That doesn't work (I guess you haven't set one up), so it then falls back to 'keyboard-interactive'. It should then ask you for a password, which presumably you're not getting right. Did you see a password prompt?
发布评论
评论(3)
您可能需要仔细检查authorized_keys 文件权限:
较新的SSH 服务器版本在这方面非常挑剔。
You may want to double check the authorized_keys file permissions:
Newer SSH server versions are very picky on this respect.
您需要更改远程服务器中的 sshd_config 文件(可能位于 /etc/ssh/sshd_config 中)。
更改
为
然后重新启动
sshd
守护进程。You need to change the
sshd_config
file in the remote server (probably in/etc/ssh/sshd_config
).Change
to
And then restart the
sshd
daemon.服务器首先尝试通过公钥对您进行身份验证。这不起作用(我猜你还没有设置),所以它会退回到“键盘交互”。然后它应该要求您输入密码,这可能是您没有输入正确的密码。您看到密码提示了吗?
The server first tries to authenticate you by public key. That doesn't work (I guess you haven't set one up), so it then falls back to 'keyboard-interactive'. It should then ask you for a password, which presumably you're not getting right. Did you see a password prompt?