This Tip Presents Some Possible Solutions to “ec2 permission denied” Issue.
The SSH Login has been Successfully Effectuated on a CentOS 6 6.3 Appliance.
Solutions:
- Check yourKey.pem Permissions:
- Set the Correct User:
sudo chown yourUser:yourGroup yourKey.pem
- Set the Correct chmod:
sudo chmod 400 yourKey.pem
- Set the Correct User:
- If You Got “publickey gssapi-keyex gssapi-with-mic” then:
Then Try to Login as “root” User (Although is It’s Usually Indicated Everywhere as Not Working…)ssh -i yourKey.pem root@