Hi, I was trying to connect to amazon ec2 I had created one private key .ppk when I was sitting at home, with Pem file then when I went to office again I created another private key .ppk and tried to connect to my ec2 account and it gave me an error. I searched google and found many answers but none seem to be fixing the error. I am getting this error, while connecting to amazon ec2 server refused key no supported authentication methods available (Server sent public key) Please tell me how I can fix this error.