The step (3) is not correct, because you are deleting the old
authorized_keys.
The steps are:
(1) Generate the keys in the client: ssh-keygen -t rsa

(2) Copy the public key to the servers:
    ssh-copy-id -i ~/.ssh/id_rsa.pub u...@server1
    ssh-copy-id -i ~/.ssh/id_rsa.pub u...@server2

Step (2) will add id_rsa.pub to the authorized keys.

Carlos

2009/3/19 Francesco Pietra <[email protected]>

> HI:
>
> I have a computing machine and a desktop ssh passwordless
> interconnected through a Zyxel router (which is dhpc on Internet). I
> have now added a second computing machine. I am unable to get all
> three machines passwordless interconnected at the same time. Just only
> two. If I want to have the third computer passwordless connected to
> one of the other two, I have to exchange id_rsa.pub between the two
> again. Mistake or intrinsic feature of ssh?
>
> What I did:
>
> (1)generating  the keys with "ssh-keygen -t rsa"
>
> (2) getting "reserved" the machines on the router
>
> (3)scp id_rsa.pub to the "authorized_keys"
>
> It is also mandatory that asking the "date" to the other computer
> (slogin ... date), the date is given without asking the password. That
> is an issue of a computational code that for its internal
> parallelization needs that (I have not investigated why).
>
> thanks
>
> francesco
> _______________________________________________
> Beowulf mailing list, [email protected]
> To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf
>
_______________________________________________
Beowulf mailing list, [email protected]
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to