Disconnected : No supported authentication methods available (server sent :publickey)
amazon-ec2, amazon-web-services
Solution
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.
Problem
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.