Appearance
su nano /etc/ssh/sshd_config
取消相应注释,并改为 PermitRootLogin yes
PermitRootLogin yes
重启sshsudo systemctl restart sshd
sudo systemctl restart sshd