After setting up SSH Key Auth still requesting Pwd to login

After following all the steps for SSH Key Pair Authentication, Linode is still asking me for Pwd instead of Passphrase (which I have added).

What is the best way to check if SSH Key Pair Authentication is set up properly or not.

3 Replies

What's in your config now? What did you already do? Which steps are you refering to? You rebooted the service I assume?

Check /var/log/auth.log for errors. Most likely your .ssh/authorized_keys has improper permissions.

Thank you, Nuvini/Derfy - it was permissions. Now, the keys are working fine.

Appreciate it.

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