[Beowulf] Password less ssh

Mark Hartner hartner at cs.utah.edu
Tue Dec 7 10:23:57 PST 2004

> Hi,
> Actually i m unable to achieve paswordless ssh. Without this i cannot successfully install MPICH.
> What i have did
> - server's /home is shared with the nodes
> - kuser on a node has generated its key like
>      ssh-keygen -t dsa
> which is saved in /home/kuser/.ssh    of the node.
> - now i have copied this key(id_dsa.pub) to server's /root/.ssh/authorized_keys
>    scp /home/kuser/.ssh/id_dsa.pub   server:/root/.ssh/authorized_keys
> - then i have restarted sshd....
> Still password asking.. kindly solve

What are you trying to do here?

What you have set up is the ability for kuser to ssh into 'server' as root
without a password (assuming remote root logins are enabled and you have
an ssh-agent running).

root's home directory is not NFS mounted, so you will have to copy the
authorized keys file to every machine.


More information about the Beowulf mailing list