f981545521
纸上得来终觉浅,绝知此事要躬行。

导航

 

应该是sshd的设置不允许root用户用密码远程登录

修改 vim /etc/ssh/sshd_config

找到# Authentication:
LoginGraceTime 120
PermitRootLogin without passwd
StrictModes yes

改成

# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes

重启虚拟机

posted on 2016-03-13 14:23  IMFY  阅读(678)  评论(0)    收藏  举报