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
gefragt vor 8 Monaten1952 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 8 Monaten
profile pictureAWS
EXPERTE
überprüft vor 8 Monaten
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
beantwortet vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen