How to set password on EC2 instance
Default credentials
The default user name for your EC2 instance is determined by the AMI that was specified when you launched the instance. The second colon-delimited field is the password However the password is likely to be encrypted represented as.
Set password for non-root user
Using ssh
I have an EC2 instace running Ubuntu 14 which I regularly connect to using SSH Now Im trying to connect to this instance using Remote.
To set a password login as a user that is allowed to sudo and run
sudo passwd newuser
You will have to enter the password for newuser twice.
Using console
Setting the root password with the sudo passwd root command allows ec2-user to execute the sudo yum install httpie command set the root..
Comments