浏览次数:2714 关键词 ( 亚马逊 用户名 密码 AWS )
略 系统为:centos 7 fox.风
sudo passwd root
sudo vim /etc/ssh/sshd_config
相应的参数修改为
PermitRootLogin yes PasswordAuthentication yes
4.1重启服务器 即可
sudo reboot
4.2重启服务
sudo systemctl restart sshd.service