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 3,322 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 by Yunus

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

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
17,474 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
• 57,550 points
1,403 views
0 votes
1 answer