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..
SSH without password not working: mac to ubuntu
Using SSH in Ubuntu