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,693 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!!
Thanks bro!

You saved my life too!

hahaha
Thank You!!! It worked for me.
0 votes

I had the same issue, there could be that when you used Putty KeyGen to convert from PEM to PPK you used the default settings which uses version 3 which is not compatible with AWS EC2. You can set PPK Version 2 by default for PuTTYgen selecting in the app menu:

Key->Parameters for saving key files...->PPK file version: 2.

answered Sep 16, 2021 by marc

edited Mar 5

Related Questions In AWS

0 votes
2 answers

Error : No supported authentication methods available on AWS

Hello  That same issue  I have faced but i ...READ MORE

answered Jun 1, 2021 in AWS by Sumit

edited Mar 5 32,504 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, 2024 in AWS by Piyu
315 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,399 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
1,050 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