Can't log in to SSH via PuTTY: Disconnected: No supported authentication methods available (server sent: public key)

Hey All,

I just bought a linode today and I'm enjoying it so far. However, something apparently happened which I can not now log into PuTTY SSH.

I got the error message

"Disconnected: No supported authentication methods available (server sent: public key)"

Anyone have ideas why I can not get into my SSH?

Thanks!

3 Replies

Looks like you have turned off password log ins and setup public key log ins

You didn't say how you expected to log in, either–were you planning on using username/password? Depending on how things are configured, you may be able to do the following to get things working:

1. sudo nano /etc/ssh/sshd_config

2. Change PasswordAuthentication to yes

3. save & exit

4. sudo service ssh restart

Note that if you have misconfigured the SSH daemon on your Linode, you should still be able to access it via Lish so you can fix things.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct