Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
I've tried all the permission related posts, etc.,
This is a new AlmaLinux8 linode.
I have the ssd_config file set to
PermitRootLogin yes
PubkeyAuthentication yes
PasswordAuthentication no
AuthorizedKeysFile .ssh/authorized_keys
permissions on the .ssh folder is 0700
permissions on the authorized__keys file is 0600
they are all owned by root.
[root@143-42-8-159 ~]# ls -la
drwx------. 2 root root 4096 Feb 22 19:21 .ssh
[root@143-42-8-159 ~]# ls -la .ssh
-rw-------. 1 root root 820 Feb 22 18:42 authorized_keys
What else can I check?
Thanks.
2 Replies
Your key authentication has failed. See:
https://phoenixnap.com/kb/ssh-permission-denied-publickey
— sw
I get turned around on this when creating a new server sometimes too. You can troubleshoot your SSH connection using this guide to get started.
What I usually end up doing though, is starting from the Harden SSH Access section of the getting started guide to make sure I followed all the steps in order. This has resolved my issues in the past.