Cisco Systems ST373307LC Computer Drive User Manual


 
7-3
Cisco SFS InfiniBand Host Drivers User Guide for Linux
OL-12309-01
Chapter 7 MVAPICH MPI
Configuring SSH
To configure SSH, perform the following steps:
Step 1 Log in to the host that you want to configure as the local host, host1.
The following example shows how to log in to the host:
login: username
Password: password
host1$
Note Your exact login output is slightly different and could display information such as the day and
the last time you logged in.
Step 2 Generate a public/private DSA key pair by entering the ssh-keygen -t dsa command. You are prompted
for a folder in which to store the key.
The following example shows how to generate a public/private DSA key pair:
host1$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/username/.ssh/id_dsa):
Note In the above example, replace /home/username/ with the location of your home directory.
Step 3 Press the Enter key to store the key in the default directory.
The following example shows how to store the key in the default directory:
Enter file in which to save the key (/home/username/.ssh/id_rsa):
Created directory '/home/username/.ssh'.
Enter passphrase (empty for no passphrase):
Note If you have used SSH before, you may not see the created directory message as displayed in the
example above.
Step 4 Press the Return key to create an empty passphrase. You will be prompted to reenter the passphrase.
Press the Return key again.
Caution Do not enter a passphrase! This is because MPI requires fully automatic logins on remote nodes.
The following example shows how to create an empty passphrase:
Enter passphrase (empty for no passphrase): <hit Return>
Enter same passphrase again: <hit Return>
Upon success, a fingerprint of the generated key is displayed.
The following example shows the display of the fingerprint of the host:
Your identification has been saved in /home/username/.ssh/id_dsa.
Your public key has been saved in /home/username/.ssh/id_dsa.pub.
The key fingerprint is:
0b:3e:27:86:0d:17:a6:cb:45:94:fb:f6:ff:ca:a2:00
host1$