How to enable root SSH login in amazon EC2 instance
In amazon EC2 instances, by default SSH login is done using keys. And the root login is disabled for security reasons. But times come when we have to enable remote SSH login as root. My situation came when I was doing xstream installation. I had to enter my root ssh details in their dashboard to initiate the installation. So, here I am going to show, what I did to enable root login using password in amazon EC2. The steps below were done in Ubuntu 14.04 64-bit. First lets enable login using password, to do this, change the line in /etc/ssh/sshd_config PasswordAuthentication no to PasswordAuthentication yes