AWS设置允许root登陆
Posted xiangnan
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AWS设置允许root登陆相关的知识,希望对你有一定的参考价值。
Refer to the following to set root login:
sudo -s (to become root)
vi /root/.ssh/authorized_keys
Delete the lines at the begining of the file until you get to the words ssh-rsa.
vi /etc/ssh/sshd_config
Set the variable PermitRootLogin to PermitRootLogin without-password (without quotes)
sudo /etc/init.d/sshd restar
https://stackoverflow.com/questions/7407333/amazon-ec2-root-login
以上是关于AWS设置允许root登陆的主要内容,如果未能解决你的问题,请参考以下文章