AWS ec2 instance no supported authentication methods available server sent publickey gssapi-keyex gssapi-with-mic

+2 votes

Created EC2 instance in AWS and trying to connect from putty. But getting error like, "No Supported authentication methods available(server sent: publickey)".

Even I tried several times to create new instances and downloaded new key value pair to change .pem to .ppk through puttyGen, And .ppk load into putty with providing proper public DNS name. But couldn't help out.

Please provide suggestions, how to connect from putty to ec2 linux instance.

Aug 1, 2019 in AWS by Vijay Bhaskar

edited Aug 5, 2019 by Kalgi 17,247 views

Have a look at this thread, same issue discussed: https://www.edureka.co/community/30960/access-ec2-instance-using-putty

Followed above URL, But It seems different error as attached screen. I have done several times with generating .ppk file from .pem file through puttyGen. Please suggest the same.

 https://www.edureka.co/community/30960/access-ec2-instance-using-putty is not useful, Because I followed same steps what they mentioned. But still getting below attached error.

Are you trying to login as a non-root user? That might be the issue.
Hey @Vijay, any luck with this error?

1 answer to this question.

0 votes
same error I got
answered Jun 20, 2020 by Yunus

Try to use the username as given by AWS. For amazon AMI you have to use ec2-user as your username.

You just saved my life. THANK YOU!!

Related Questions In AWS

0 votes
2 answers

Error : No supported authentication methods available on AWS

Diff from other answers above: I received this ...READ MORE

answered Mar 25, 2019 in AWS by Bathinda
• 140 points
32,239 views
0 votes
1 answer
0 votes
1 answer

No Supported Authentication Methods Available” on SFTP

If you're getting the "No Supported Authentication ...READ MORE

answered Oct 26 in AWS by Piyu
174 views
0 votes
1 answer

Getting ORA-01882: timezone region not found with Oracle UCP, on aws ec2 instance?

You can pass command line argument -Duser.timezone=<Database Time ...READ MORE

answered Oct 3, 2018 in AWS by Priyaj
• 58,020 points
4,257 views
0 votes
1 answer

Error: 'No package Tableau server available on the EC2 Linux instance'

Hi, Tableau may not come with your ISO ...READ MORE

answered Oct 20, 2020 in AWS by MD
• 95,460 points
819 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP