Use password to ssh into EC2 instances
1) First, login to your Ec2 instance #ssh ec2-user@PUBLIC_ IP_OF_EC2 -i THE_PEM_FILE.pem 2) Now access the root user by using the command $ sudo su $ sudo su We can verify whether have changed to the root user...