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    把这里改大一点即可。