📌  相关文章
📜  权限被拒绝(公钥、gssapi-keyex、gssapi-with-mic). - Shell-Bash 代码示例

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

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