📌  相关文章
📜  权限被拒绝(公钥 gssapi-keyex gssapi-with-mic)ec2 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:27.383000             🧑  作者: Mango

代码示例1
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.