vim /etc/ssh/sshd_config 最后参数
UseDNS no
AddressFamily inet
PermitRootLogin yes
SyslogFacility AUTHPRIV
PasswordAuthentication yes
MaxAuthTries=2 把这里改大一点即可。
相关文章
- SSH File Transfer遇到错误"too many authentication failures for root".A protocol error was detected......
- Mac环境下终端(Terminal)用ssh 连接服务器问题 Received disconnect from 120.55.x.x: 2: Too many authentication failures for root
- Linux用ssh登陆出现“Too many authentication failures for root”
- ssh 返回错误 Too many authentic authentication failures for root 的时候检查 ssh 配置