I was able to connect to Amazon Linux AMI (EC2-Instance) with private key and username ec2-user. but, later I tried to connect to the same instance using same private key and username. it doesn't worked.

enter image description here

Putty Fatal Error
Disconnected: No supported authentication method available (server sent:publickey)

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.