仅记录一下
sudo -i 切换到root 用户
修改配置文件
nano /etc/ssh/sshd_config
设置root 密码
passwd root
输入密码回车再确认即可
重启ssh服务
systemctl restart sshd
再次使用root 远程登录即可