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 |
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. |
Maybe it's because dsa is ssh version 2? Try this:
Code:
scp /home/kuser/.ssh/id_dsa.pub server:/root/.ssh/authorized_keys2 PubkeyAuthentication yes in sshd_config |
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. |