Cannot sftp in to server, but can ssh in [Centos 7] - [SOLVED]

I've followed the "securing your server" guide here: https://www.linode.com/docs/security/se … our-server">https://www.linode.com/docs/security/securing-your-server

I've disabled root access, setup pub keys to have access only.

In cyberduck there's a checkbox to select the pubkey, but, it simply doesn't let me in? Any ideas?

Edit*:

Turns out I'm a dumbass, wasn't selecting the right key file. The one with the .pub extension is the wrong one :oops:

1 Reply

Happens to the best of us; I'm glad you found your way back in. Good luck!

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