[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SSH RSA Authentication



I am trying to use RSA authentication between different machines, but
I'm running into trouble between machines running different versions of
ssh.

Machine A is running unstable with OpenSSH 3.0.2p1, and it is trying to
connect to machine B running stable, with a compiled from source ssh,
version 3.2.3p1.

On machine A, I run ssh-keygen, and generate an identity and
identity.pub.  I copy identity.pub to ~/.ssh/authorized_keys on Machine
B, but it still prompts for the system password, not my keyphrase.  I
notice that B's more recent ssh-keygen insists I use the -t flag to
specificy key type, so I then generate another key on machine A with
'ssh-keygen -t rsa', creating id_rsa and id_rsa.pub, and proceed to copy
id_rsa.pub to Machine B's authorized_keys file.  Still no luck, same
regular password prompt.  

To convince myself that I'm not doing something completely wrong, I
generate keys on Machine B ('ssh-keygen -t rsa'), and copy the public
key to Machine C (virtually identical machine running same version of
OpenSSH) and the key authentication works as expected. :-\

Any ideas as to how to make the different versions understand each
other?

Thanks,
Rob


-- 
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: