Passwordless SSH setup

From admin to worker nodes
On the admin machine (mist/helios): % ssh-keygen -t rsa -P "" Hit Enter at any questions (~1 time). Then: % ssh-copy-id -i ~/.ssh/id_rsa.pub localhost

Enter your password (for the last time). You should no longer be prompted for a password when using SSH, SCP, etc between the cluster nodes.

From class/lab machines to admin node
On a class/lab machine (ex: rns202-1.cs.stolaf.edu): % ssh-keygen -t rsa -P "" Hit Enter at any questions (~1 time). Then: % ssh-copy-id -i ~/.ssh/id_rsa.pub helios.public.stolaf.edu         ; (replace helios with mist, thing1, etc.) Enter your password (for the last time). You should no longer be prompted for a password when using SSH, SCP, etc to the cluster admin machine from a class/lab machine.

From admin node to class/lab machines
On mist or helios (unless you have already entered ssh-keygen on this machine, for between admin and worker nodes): % ssh-keygen -t rsa -P "" Hit Enter at any questions (~1 time). Then: % ssh-copy-id -i ~/.ssh/id_rsa.pub rns202-1.cs.stolaf.edu         ; (or any other lab machine) Enter your password (for the last time). You should no longer be prompted for a password when using SSH, SCP, etc to any lab machine from the admin node.