2.修改ssh服务配置文件vim /etc/ssh/sshd_config修改:PermitRootLogin without-password为:PermitRootLogin yes
3.重启ssh服务service ssh restart
ubuntu14.04开启root用户
原文:https://blog.51cto.com/paitoubing/2656990