I had the same problem, by accident mistake. I’ll share it here, in case someone may have made the same mistake.
Basic steps, as others described.
- Download putty and puttygen, or the putty package and install it.
- Get the .pem file from your AWS EC2 instance.
- Use puttygen to convert the .pem file so that you’ll have a private key — mistake happened here. I chose “Conversions” tab from PuttyGen, and load my .pem file. After loading pem file, here DO NOT hit “Generate”, instead directly “Save private key”. That’s the key you need. If you click Generate, you’ll have a totally different pair of keys.
- In putty, use ec2-user@your.public.dns.that.you.get.from.aws.ec2.instance, and load the private key at SSH/Auth
Good luck!
Reference Link :- StackOverflow https://stackoverflow.com/questions/24587443/aws-disconnected-no-supported-authentication-methods-available-server-sent