Bad permissions ignore key while sshing to EC2

Bad permissions ignore key while sshing to EC2

Trying to SSH into the Amazone EC2 and getting the above error? it has something to do with lesser permission on the pem file.
All you have to do is change the permission as

sudo chmod 400 /path/to/your/file.pem

Then you can follow the usual ssh -i file.pem ec2-user@your-v-server..

Install git on Amazon EC2

SSH without password not working: mac to ubuntu

Using SSH in Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*