The step (3) is not correct, because you are deleting the old authorized_keys. <br>The steps are:<br>(1) Generate the keys in the client: ssh-keygen -t rsa<br><br>(2) Copy the public key to the servers: <br> ssh-copy-id -i ~/.ssh/id_rsa.pub user@server1<br>
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server2<br><br>Step (2) will add id_rsa.pub to the authorized keys.<br><br>Carlos<br><br><div class="gmail_quote">2009/3/19 Francesco Pietra <span dir="ltr"><<a href="mailto:chiendarret@gmail.com">chiendarret@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">HI:<br>
<br>
I have a computing machine and a desktop ssh passwordless<br>
interconnected through a Zyxel router (which is dhpc on Internet). I<br>
have now added a second computing machine. I am unable to get all<br>
three machines passwordless interconnected at the same time. Just only<br>
two. If I want to have the third computer passwordless connected to<br>
one of the other two, I have to exchange id_rsa.pub between the two<br>
again. Mistake or intrinsic feature of ssh?<br>
<br>
What I did:<br>
<br>
(1)generating the keys with "ssh-keygen -t rsa"<br>
<br>
(2) getting "reserved" the machines on the router<br>
<br>
(3)scp id_rsa.pub to the "authorized_keys"<br>
<br>
It is also mandatory that asking the "date" to the other computer<br>
(slogin ... date), the date is given without asking the password. That<br>
is an issue of a computational code that for its internal<br>
parallelization needs that (I have not investigated why).<br>
<br>
thanks<br>
<br>
francesco<br>
_______________________________________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a><br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br>
</blockquote></div><br>