0

I can't connect to aws-ec2 centos. I get:

disconnected no supported authentication methods available (server sent publickey) sent publickey gssapi keys with mic

Image for Error Message

MLavoie
  • 9,671
  • 41
  • 36
  • 56
Ahmed Az
  • 11
  • 1
  • 2
  • 1
    Possible duplicate of [Google server putty connect 'Disconnected: No supported authentication methods available (server sent: publickey)](https://stackoverflow.com/questions/20294381/google-server-putty-connect-disconnected-no-supported-authentication-methods-a) – MechMK1 Nov 24 '17 at 08:29

3 Answers3

1

Inside putty ssh we need to configure the ppk file. they only we can able to access the server through ssh. make sure you're mapped correctly. and check again.

selva kd
  • 11
  • 1
0

Looking at Image in Error Msg I think you are entering wrong user name try centos not root.

Hope it Helps!

Kush Vyas
  • 5,813
  • 2
  • 26
  • 36
0

Unfortunately the .pem private key file downloaded from the EC2 console when you create a keypair is not compatible with PuTTY by default! Putty expects a converted .ppk file for keypair authentication over SSH. See this answer for a tutorial on how to do this.

Devon Katz
  • 246
  • 1
  • 3