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