vim /etc/ssh/sshd_config 修改内容: PermitRootLogin no
systemctl restart sshd
重新使用 远程连接工具 进行连接。
通过sudo 设置su命令 切换 root