Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

permission denied (publickey gssapi-keyex gssapi-with-mic) ec2

This issue usually occurs when you are trying to ssh outside of the folder you downloaded your .pem files on.
Therefore in order to resolve this you have to make sure that on your terminal, 
you first "cd" to the directory where your .pem files are located, then verify their existence there 
by using the ls command, if they are there you can then proceed to run the  ssh -i XXXX XXXXXXX command.

Hopefully this answers your question.

Thanks.

 
PREVIOUS NEXT
Tagged: #permission #denied
ADD COMMENT
Topic
Name
3+5 =