[Beowulf] ssh connection passwordless
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Carlos Segura carlossegurag at gmail.comTue Mar 24 03:05:49 PDT 2009
- Previous message: [Beowulf] ssh connection passwordless
- Next message: [Beowulf] ssh connection passwordless
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 user at server1
ssh-copy-id -i ~/.ssh/id_rsa.pub user at server2
Step (2) will add id_rsa.pub to the authorized keys.
Carlos
2009/3/19 Francesco Pietra <chiendarret at gmail.com>
> 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, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scyld.com/pipermail/beowulf/attachments/20090324/52e82dd5/attachment.html
- Previous message: [Beowulf] ssh connection passwordless
- Next message: [Beowulf] ssh connection passwordless
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
