Clustering

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.

  1. Configure your server with a shared hoe directory across each node.
  2. At the head node of the cluster do the following
    1. ssh-keygen -b 1024 - tsa
    2. Simply select enter for all of the questions
  3. This will generate the following files.
    1. ~/.ssh/id_dsa.pub
    2. ~/.ssh/id_dsa
  4. copy the id_dsa.pub file to the ~/.ssh/authorized_keys file
    1. cp ~/.ssh/id_dsa.pub ~/.ssh/authorized_keys
  5. test the script by attempting to log on to a cluster node of the server
  6. if you are having trouble make sure that the permissions on the .ssh directory are.
    1. drwx------

and that about it, this is necceary in the administration of the cluster.

 

About Me | Site Map | | ©2006 Eric Adint