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

Re: Passwordless ssh access among nodes - HOW?







On 05/02/2003 02:06:04 AM Ole.Nielsen wrote:

>> However, nodes ask for passwords so I'd like to setup the cluster to
>> allow passwordless ssh for everyone.

I'm not sure about "for everyone".  Maybe something can be done with a
combination of NFS /home and NIS authentication?

How about start with one user and build on that.

Assume you're connecting from main hub to the remote.

Make an account named "user" on both the main and remote.
Or, make sure that account name exists on both machines (perhaps root?)
Log into main as that user.

On the main, run "ssh-keygen -d" and hit enter at all the prompts.

Then, on the main, run "scp .ssh/id_dsa.pub remote:.ssh/authorized_keys"
(Or use any other method to copy that file to that location)

This is the cookbook approach, you probably want to read the manpages as
you do this.


Don't forget to setup the "dsh" package when you're all done, as that is
highly useful with this config.




Reply to: