Amazon EC2 root login
- Create ec2 instance
- Xshell login
ec2-user with rsa
sudo su
Init your password for root user
passwd
change ssh config enable root login
vim /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
Restart sshd
service sshd restart
Then you can login amazon ec2 with root user