Cisco GEM318P User Manual page 52

Host drivers for linux
Table of Contents

Advertisement

Configuring SSH
Change into the .ssh directory that you created.
Step 5
The following example shows how to change into the .ssh directory:
host1$ cd .ssh
Copy the public key that was just generated to the authorized keys file.
Step 6
The following example shows how to copy the public key to authorized keys file:
host1$ cp id_dsa.pub authorized_keys
host1$ chmod 0600 authorized_keys
Test your SSH connection to host1. You should be able to establish an SSH session to host1 without
Step 7
being prompted for a username, password, or passphrase.
The following example shows how to verify that you can establish an SSH session to host1 without being
prompted for a password or passphrase:
host1$ ssh host1 hostname
host1
host1$
Note
The authenticity of host 'host1 (10.0.0.1)' can't be established.
RSA key fingerprint is 6b:47:70:fb:6c:c1:a1:90:b9:30:93:75:c3:ee:a9:53.
Are you sure you want to continue connecting (yes/no)?
If you see this prompt, type yes, and press Enter. You may then see a message similar to this:
Warning: Permanently added 'host1' (RSA) to the list of known hosts.
You will see the host1 output next and are returned to a shell prompt. You should see this authentication
message only the first time you use SSH to connect to a particular host. For example, if you run ssh host1
hostname again, you do not see the authentication message again.
Note
Step 8
Log in to another host that you want to use with MPI, host2. Create a .ssh directory in your home
directory on host2 and set its permissions to 0700.
The following example shows how to create a .ssh directory in the root directory and set its permissions
to 0700:
host2$ mkdir .ssh
host2$ chmod 0700 .ssh
Cisco SFS InfiniBand Host Drivers User Guide for Linux
7-4
If this is the first time that you have used SSH to log in to host1, you may see a message similar
to the one below.
If your home directory is shared between all nodes through a network file system, skip ahead to
Step
10.
Chapter 7
MVAPICH MPI
OL-12309-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

St373307lcSfs infiniband

Table of Contents