25
9
After upgrading to Fedora 23, passwordless (public-key-based) authentication no longer works in SSH: when trying to SSH to some host, it prompts for my password at the remote host. I can't get it to use my SSH private key. Everything worked fine with Fedora 22.
My public key is a DSA key (~/.ssh/id_dsa.pub
). I'm using OpenSSH 7.1 (openssh-7.1p1-5.fc23.x86_64
).
How do I get password-less authentication to work correctly again?
1
Dupe of http://superuser.com/questions/962918/pubkeyacceptedkeytypes-and-ssh-dsa-key-type and (cross) http://unix.stackexchange.com/questions/247612/ssh-keeps-skipping-my-pubkey-and-asking-for-a-password
– dave_thompson_085 – 2015-12-23T04:32:46.5631
Thanks, @dave_thompson_085. This is not a dupe of http://superuser.com/q/962918/93541. That question is asking how to use
– D.W. – 2015-12-23T06:24:06.953ssh -Q
. This is asking how to trouble-shoot a failure of SSH. I did find some of the material at http://superuser.com/q/962918/93541 and elsewhere helpful in identifying this solution, but the answer there describes how to usessh -Q
and does not answer this question (e.g., it doesn't explain how to fix this problem), so in my view it's not a dup. The one on Unix & Linux is very similar; I wish I'd seen that one earlier. Thanks again for the links!Ack, you're right. I had them both bookmarked as "OpenSSH 7.0 no DSA" which in the former case is not close enough. Sorry. – dave_thompson_085 – 2015-12-27T01:08:08.543