xshell用root用户登录ubuntu
sudo vim /etc/ssh/sshd_config # PermitRootLogin prohibit-password PermitRootLogin yes #改成 yes
/etc/init.d/sshd restart
sudo vim /etc/ssh/sshd_config # PermitRootLogin prohibit-password PermitRootLogin yes #改成 yes
/etc/init.d/sshd restart