1.进入AWS系统
略
系统为:centos 7
fox.风
2.设置ROOT密码
sudo passwd root
3.修改配置文件
sudo vim /etc/ssh/sshd_config
相应的参数修改为
PermitRootLogin yes
PasswordAuthentication yes
4.应用使之生效
4.1重启服务器 即可
sudo reboot
4.2重启服务
sudo systemctl restart sshd.service
版权声明:原创文章欢迎转载,不过要记得加出处哦 http://blog.csdn.net/fenglailea/article/details/52711373