Skip to content

No supported authentication methods available (server sent: publickey)

0

i've been working with totally normal via putty, until yesterday that the SSH provider PUTTY, started to send me this error No supported authentication methods available (server sent: publickey).

i'm able to use the SSH session through lightsail, did the verification to see if the owners of the auth folder have changed, everything seems to be good.

the port 22 is enabled and configured,

what else should i be checking?

asked 2 years ago5.3K views
1 Answer
1

Hello.

If you are using Putty, you can check the event log when connecting via SSH.
If you check here, you may be able to find out more details.
https://documentation.help/PuTTY/using-eventlog.html

Please also check the troubleshooting document below.
It is possible that the wrong key or user is using the wrong key.
https://repost.aws/knowledge-center/linux-credentials-error

You're not connecting with the appropriate user name for your AMI when you negotiate an SSH session with an EC2 instance.
You're using the wrong private key when you negotiate an SSH session with an EC2 instance.

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.