对于新安装的ubuntu系统,用root身份使用SSH secure shell client 远程登录时总会出现重复输入密码,最后提示too many authentication failures…如下图

解决办法如下:
将sshd_config文件的部分配置修改成如下所示:(vim /etc/ssh/sshd_config)
PermitRootLogin yes
PubkeyAuthentication no
PasswordAuthentication yes
UseLogin yes
最后重启sshd服务(service sshd restart)就可以了。
本文解决了一个常见的Ubuntu系统问题,即使用root身份通过SSHSecureshellClient远程登录时重复输入密码并提示too many authentication failures的错误。通过修改sshd_config文件中的几项配置,并重启sshd服务,可以有效解决这一问题。

6565

被折叠的 条评论
为什么被折叠?



