Appearance
用远程工具连接 Ubuntu
sudo passwd root
sudo vi /etc/ssh/sshd_config
在#PermitRootLogin prohibit-password下添加 PermitRootLogin yes PasswordAuthentication yes
重启ssh服务
sudo service ssh restart