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
相关文章
相关标签/搜索