-2

I am trying to launch AWS EC2 instance with Ubuntu AMI. The username is ubuntu. Before the launch, I created my key using .ppk option checked:

AWS PPK Key download

After launching EC2, I can see the key I selected is showing under Key pair name.

I opened putty, pasted hostname as ubuntu@ec2-blah-blah-blah-blah.eu-west-2.compute.amazonaws.com and selected the .ppk file under SSH > Auth > Browse and then clicked open and get the error message as below:

I have literally gone mad as I am unable to figure out why the simplest thing isnt working.

Need some help, thank you

Ankur
  • 87
  • 7
  • Does this answer your question? [AWS - Disconnected : No supported authentication methods available (server sent :publickey)](https://stackoverflow.com/questions/24587443/aws-disconnected-no-supported-authentication-methods-available-server-sent) – Sagar Jun 01 '22 at 08:18
  • 1
    Question belongs to serverfault. Anyways always mention AMI ID, OS version. It's clear backend sshd daemon doesn't support native ssh-rsa algorithm. Consider using new ssh client or upgrade to newer version of putty. – Sagar Jun 01 '22 at 08:23

2 Answers2

3

Upgrading Windows Putty to 0.77 solved the problem.

Ankur
  • 87
  • 7
  • This was part of it for me - the other part was opening the .ppk private key and re-saving it with the new version of putty. – zrisher Oct 08 '22 at 18:43
0

Hostname is only the ec2-blah-blah-blah-blah.eu-west-2.compute.amazonaws.com, without ubuntu@.

Also there is this article for further investigation.

Teo
  • 49
  • 5
  • Even even hostname ec2-blah-blah-blah-blah.eu-west-2.compute.amazonaws.com without ubuntu@, it does not work. – Ankur May 31 '22 at 12:54