2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
The document below describes how to recover when you lose your key pair, but it may also be useful for this issue.
https://repost.aws/knowledge-center/user-data-replace-key-pair-ec2
You may want to check that you are using the correct keypair to connect.
https://repost.aws/knowledge-center/ec2-server-refused-our-key
0
Amazon's generation of keys in putty format did not work. I tried multiple times. Everything worked when I generated regular keys and used puTTygen to convert to putty format.
answered 8 months ago
Relevant content
- asked a year ago
- asked 2 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 days ago