AWS SSH connection error: Permission denied (publickey)

后端 未结 9 1693
隐瞒了意图╮
隐瞒了意图╮ 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:44

    Yes, indeed quite misleading message. In my case I used wrong key for instance.

    We had need to removed key pair and created new one, except that our instance kept using old one(because you can't do it that easy).

    The error message was the same so it's worth to check key name in your aws panel of instance match the key pair that you use in key paris.

提交回复
热议问题