linux - EC2 ssh Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
I got this permission denied problem when I want to ssh to my ec2 host. I tried existing solution chmod 600 "My.pem" but still didn't work. Here is my debug information:

I resolved this issue in my centos machine by using command:
ssh -i <Your.pem> ec2-user@<YourServerIP>

It was about userName which was ec2-user in my case.
Referenced From: AMAZONTroubleshooting
