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

Re: SSH RSA Authentication



On Sat, Jun 22, 2002 at 02:20:20AM -0500, Rob VanFleet wrote:
> 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.  
> 

It is very difficult to help you without error messages, since there
shouldn't be a problem.  openssh 3.0.2 and 3.2.3 play perfectly well
with each other.

I would guess that you are connecting with ssh protocol 1 to a server
which has protocol 1 disabled.

Try generating new keys for protocol 2 with "ssh-keygen -d",
copy them with "ssh-copy-id" and try again.

If it fails, please run ssh with -v and provide the output.

  Ciao
     Dietmar 

-- 
 Alles Gute / best wishes  
     Dietmar Goldbeck                E-Mail: dietmar.goldbeck@acm.org
Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western
Civilization?  Gandhi: I think it would be a good idea.


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



Reply to: