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
質問済み 8ヶ月前1956ビュー
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
エキスパート
回答済み 8ヶ月前
profile pictureAWS
エキスパート
レビュー済み 8ヶ月前
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
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ