vi /etc/ssh/sshd_config # 修改 PermitRootLogin without-passwor 为 PermitRootLogin yes systemctl restart sshd