sudo nano /etc/ssh/sshd_config #改为 PermitRootLogin yes #然后 sudo systemctl restart ssh
来源:https://www.shanhubei.com/archives/55152.html