Can't ssh to AWS EC2: Identity file not accessible

前端 未结 14 881
予麋鹿
予麋鹿 2021-02-02 06:08

I\'m unable to ssh to my EC2 server and am getting the error:

ssh -i /Users/Skeniver/Keepass/skeniver.pem ubuntu@xx.xxx.xx.xxx

Identity file /Users/Skeniver/Kee         


        
14条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-02 06:22

    This is weird, but in my case I was copying the command from a slack message and that repeatedly caused this error, even though I met all the above requirements. Typing the whole command without copying anything from clipboard worked for me. Posting this here and I hope this helps someone one day.

提交回复
热议问题