个人版Ubuntu 14.04 ssh远程root用户无法登录
原因:sshd服务禁止root登录
1.先用普通用户登录
2.vi /etc/ssh/sshd_config
3.将PermitRootLogin without-password修改为PermitRootLogin yes 即可
4.重启sshd服务 service ssh restart
原因:sshd服务禁止root登录
1.先用普通用户登录
2.vi /etc/ssh/sshd_config
3.将PermitRootLogin without-password修改为PermitRootLogin yes 即可
4.重启sshd服务 service ssh restart