Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disconnected : No supported authentication methods available (server sent :publickey)

I am new to Amazon EC2 and trying to configure it. I have created the instances and trying to connect. I am getting the error as "Disconnected : No supported authentication methods available (server sent :publickey)".

I have got the keypair from EC2 Management console and have used putty gen to generate private key file(PPK).

Kindly assist to resolve.

I have already referred Google server putty connect 'Disconnected: No supported authentication methods available (server sent: publickey) but couldn't get my problem resolved.Error screen

like image 899
explorer Avatar asked Feb 03 '14 19:02

explorer


People also ask

What is no supported authentication methods available?

Expanding on that, we often encounter an error that states: “no supported authentication methods available.” This error indicates that our SSH client (mostly PuTTY) has probably run out of ways and can't authenticate us to an SSH server.


1 Answers

For the record, the usual default username in EC2 for these Linux distro:

  • Amazon Linux: ec2-user
  • Ubuntu: ubuntu
  • Debian : admin

To access the instance through a browser, make sure you add a rule in your security group to allow port 80 and port 443 inbound.

like image 77
David Levesque Avatar answered Sep 18 '22 20:09

David Levesque