Unable to connect to amazon server using putty

amazon-ec2, putty

Solution

This usually means that there was a problem with how the pem file was converted to a ppk file, or that the pem file was not the right one to begin with. Make sure you followed the instructions for using puttygen correctly. There is an example here: Convert PEM to PPK file format

Alternatively, use a windows ssh client that uses pem files directly. Two options are:

- Cygwin - it includes an ssh command line client.

- Poderosa

Problem

I am trying to connect to EC2 server using putty with the help of .pem. It is giving me an error: Disconnected: No supported authentication methods available (server sent: public key) I have created a .ppk through puttygen. Still facing the same problem. Can any one help me with the solution.

Original source