CSS Labs

MPI Setup Using SSH with Certificates

The message passing interface (MPI) system requires the ability connect to the Linux machines in the UW1-320 lab without providing a password. That is, you can use SSH from a command line on one Linux machine and run a command on a remote machine without re-entering your password. This is accomplished through an asymmetric key exchange similar to a web secure connection.

When you have correctly configured your SSH for MPI, you will be able to enter the following at a shell prompt and the response will return without requesting a password.

$ ssh uw1-320-18 'date'

$ Tue Dec 31 13:44:16 PST 2002


Follow these steps to configure your SSH to use a certificate, typing the following at a shell prompt (not the italics) ...

$ cd ~/.ssh (mkdir ~/.ssh if not there)
Note: use chmod on the .ssh directory to ensure the permissions are set to 0700

$ ssh-keygen -t dsa

at the prompt, hit enter, saving file as id_dsa

at the prompts, hit enter (2x) when asked for a passphrase

$ cat id_dsa.pub >> authorized_keys

Now test your keys with the 'date' command above.

12/31/2002 Linux Help