Ubuntu 16.04 root ssh无法登录解决办法


# vi /etc/ssh/sshd_config


#PermitRootLogin prohibit-password

PermitRootLogin yes


:wq


# service ssh restart