ubuntu14.04 ssh允许root用户远程登录

vi /etc/ssh/sshd_config

#注释掉 #PermitRootLogin without-password

# Authentication:
LoginGraceTime 120
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes

#重启服务
service ssh restart

  

posted @ 2017-10-31 09:51  chansh  阅读(419)  评论(0编辑  收藏  举报