I have the following setup on an Ubuntu machine:
~/dotfiles/authorized_keys2
~/.ssh/authorized_keys2 -> /home/wayne/dotfiles/authorized_keys2
I had the same setup on my Arch machine, but when I connect with -v,
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/wayne/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
I found this page on the Arch Wiki, which has this line:
$ chmod 600 ~/.ssh/authorized_keys
So I added another symlink:
authorized_keys -> /home/wayne/dotfiles/authorized_keys2
And yet still, no dice. And yes, I have ensured that the correct key is present in authorized_keys
.
Why can I not connect using my keys?
Edit:
My permissions are set correctly on my home and ssh folders (and key file):
drwxr-x--x 150 wayne family 13k Aug 27 07:38 wayne/
drwx------ 2 wayne family 4.1k Aug 27 07:24 .ssh/
-rw------- 1 wayne family 6.4k Aug 20 07:01 authorized_keys2
/etc/
... in thepam
folder maybe? that might be wrong. some conf,though.AuthorizedKeysFile .ssh/authorized_keys
, @unRPubkeyAuthentication yes
is commented out... though manpage says yes is the default and uncommenting that seems to have no effect