cant connect to my instance

0

Just created a ubuntu instance, downloaded a .ppk

when I try to putty, using my .ppk and the public IP address, I get login as: I tried ubuntu, root, admin, ec2-user all result in "Server refused our key"

Can I create a new .ppk set of key or do I need to delete this instance?

When I try with the web-browser EC2 connect, I get the error "Failed to connect to your instance"

john
已提问 9 个月前2084 查看次数
2 回答
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

profile picture
专家
已回答 9 个月前
profile pictureAWS
专家
已审核 9 个月前
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.

john
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则