How to solve the error with the message ‘Permission denied (publickey,gssapi-keyex,gssapi-with-mic)’ which appears when I am trying do a ssh in AWS instance ?

Example Error: cmacedo-OSX:.ssh camilamacedo$ ssh -i my_pair_key.pem IP/DNS Permission denied (publickey,gssapi-keyex,gssapi-with-mic). Possible Situations You’re not specifying the correct SSH keypair file … More