User guide

3InfiniBand
®
Cluster Setup and Administration
Host Environment Setup for MPI
IB0054606-02 A 3-41
“Configuring for ssh Using ssh-agent” on page 3-43 shows how an individual user
can accomplish the same thing using
ssh-agent.
The example in this section assumes the following:
Both the cluster nodes and the front end system are running the
openssh
package as distributed in current Linux systems.
All cluster end users have accounts with the same account name on the
front end and on each node, by using Network Information Service (NIS) or
another means of distributing the password file.
The front end used in this example is called
ip-fe.
Root or superuser access is required on
ip-fe and on each node to
configure
ssh.
ssh, including the host’s key, has already been configured on the system
ip-fe. See the sshd and ssh-keygen man pages for more information.
To use
shosts.equiv to configure ssg and sshd:
1. On the system
ip-fe (the front end node), change the
/etc/ssh/ssh_config file to allow host-based authentication. Specifically,
this file must contain the following four lines, all set to
yes. If the lines are
already there but commented out (with an initial #), remove the #.
RhostsAuthentication yes
RhostsRSAAuthentication yes
HostbasedAuthentication yes
EnableSSHKeysign yes
2. On each of the IB node systems, create or edit the file
/etc/ssh/shosts.equiv, adding the name of the front end system. Add the
line:
ip-fe
Change the file to mode 600 when you are finished editing.