Linux用ssh登陆出现“Too many authentication failures for root”

 vim /etc/ssh/sshd_config  最后参数
UseDNS no
AddressFamily inet
PermitRootLogin yes
SyslogFacility AUTHPRIV
PasswordAuthentication yes
MaxAuthTries=2    把这里改大一点即可。

 

posted @ 2016-06-02 15:08  jinchunguang  阅读(2909)  评论(0)    收藏  举报