Passwordless SSH
Yes I know that the internet is thick with documentation on how to set up passwordless ssh for OS X or UNIX But here is my documentation is a way that i understand, I hope that it helps you.
- Configure your server with a shared hoe directory across each node.
- At the head node of the cluster do the following
- ssh-keygen -b 1024 - tsa
- Simply select enter for all of the questions
- This will generate the following files.
- ~/.ssh/id_dsa.pub
- ~/.ssh/id_dsa
- copy the id_dsa.pub file to the ~/.ssh/authorized_keys file
- cp ~/.ssh/id_dsa.pub ~/.ssh/authorized_keys
- test the script by attempting to log on to a cluster node of the server
- if you are having trouble make sure that the permissions on the .ssh directory are.
- drwx------
and that about it, this is necceary in the administration of the cluster.