SSH服务器拒绝了密码,请再试一次

安装openssh服务:

修改文件:

# vim /etc/ssh/sshd_config

修改如下:

LoginGraceTime 120
PermitRootLogin yes  #prohibit-password 无法使用root用户远程连接
StrictModes yes
MaxAuthTries 10

重启服务

# /etc/init.d/ssh restart
posted @ 2019-03-29 20:00  AR0X1V  阅读(477)  评论(0)    收藏  举报