Got a situation that driving me slightly batty. I cannot get a ssh key pairs to work in a particular situation.
local host remote host ------------------------------------------------------------------------ either :
rh 7.2 Cobalt RAQ3 ssh OpenSSH_3.4p1 ssh OpenSSH_3.4p1
or :
rh9 ssh OpenSSH_3.5p1
both local hosts can successfully ssh by keypair to other hosts. but neither can ssh by keypair to the remote host above.
i've got the local id_dsa.pub keys in the remotes .ssh/authorized_keys file. Permissions are (remote host):
-rw-r--r-- 1 admin admin 1234 Aug 11 15:03 authorized_keys -rw------- 1 admin admin 744 Aug 9 15:18 id_dsa -rw-r--r-- 1 admin admin 617 Aug 9 15:18 id_dsa.pub -rw-rw-r-- 1 admin admin 0 Aug 11 14:31 known_hosts
sshd_config on the remote permits public key authentication:
#PubkeyAuthentication yes
I've also verified that the the entries in authorized_keys contain no superflous characters. the keys are one line.
Would this be something funky with the cobalt raq? it's ssh install looks pretty much like what I'd see in a redhat box.
Did you try RSA or RSA1 key pairs instead? I've seen a few weird scenarios where DSA just didn't work. Barring that, you could always start sshd in debug mode on the remote end and see what it thinks is happening.
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L. Friedman [EMAIL PROTECTED] Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
3:50pm up 27 days, 18:31, 1 user, load average: 0.25, 0.20, 0.14
_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
