AWS SSH connection error: Permission denied (publickey)

后端 未结 9 1675
隐瞒了意图╮
隐瞒了意图╮ 2020-12-07 22:58

Im trying to connect to my EC2 instance with SSH and Iḿ getting crazy. I have read this post and tried all user combinations:

AWS ssh access 'Permission denied (

9条回答
  •  执笔经年
    2020-12-07 23:33

    One easy way to get this error is a corrupt .pem file.

    For example, if the last line is missing, you get "missing begin marker".

    Make sure the .pem ends with:

    -----END RSA PRIVATE KEY-----

提交回复
热议问题