LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Passwordless SSH for Cluster (https://www.linuxquestions.org/questions/linux-networking-3/passwordless-ssh-for-cluster-263487/)

nedian123 12-07-2004 12:02 AM

Passwordless SSH for Cluster need help
 
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

if rsh is easy to use for a cluster tell me that

Akhtar

mikeyt_333 12-07-2004 12:33 AM

I can't remember the configuration options, but look in your ssh config file, you have to enable this option, it isn't enabled by default to my knowledge.

HTH
Mike.

shy 12-07-2004 12:59 AM

Maybe it's because dsa is ssh version 2? Try this:
Code:

scp /home/kuser/.ssh/id_dsa.pub server:/root/.ssh/authorized_keys2
And, as it has been said, check the parameter
PubkeyAuthentication yes
in sshd_config

Jerre Cope 12-07-2004 10:15 PM

ssh
 
Remember, you must set authorized_keys to read only by owner

chmod 600 authorized_keys


All times are GMT -5. The time now is 10:02 AM.