3
–
InfiniBand
®
Cluster Setup and Administration
Host Environment Setup for MPI
IB0054606-02 A
3-43
At this point, any end user should be able to login to the
ip-fe
front end system
and use
ssh
to login to any IB node without being prompted for a password or
pass phrase.
Configuring for
ssh
Using
ssh-agent
The
ssh-agent
, a daemon that caches decrypted private keys, can be used to
store the keys. Use
ssh-add
to add your private keys to
ssh-agent
’s cache.
When
ssh
establishes a new connection, it communicates with
ssh-agent
to
acquire these keys, rather than prompting you for a passphrase.
The process is described in the following steps:
1.
Create a key pair. Use the default file name, and be sure to enter a
passphrase.
$ ssh-keygen -t rsa
2.
Enter a passphrase for your key pair when prompted. Note that the key
agent does not survive X11 logout or system reboot:
$ ssh-add
3.
The following command tells
ssh
that your key pair should let you in:
$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
Edit the
~/.ssh/config
file so that it reads like this:
Host*
ForwardAgent yes
ForwardX11 yes
CheckHostIP no
StrictHostKeyChecking no
This file forwards the key agent requests back to your desktop. When you
log into a front end node, you can use
ssh
to compute nodes without
passwords.
4.
Follow your administrator’s cluster policy for setting up
ssh-agent
on the
machine where you will be running
ssh
commands. Alternatively, you can
start the
ssh-agent
by adding the following line to your
~/.bash_profile
(or equivalent in another shell):
eval ‘ssh-agent‘
Use back quotes rather than single quotes. Programs started in your login
shell can then locate the
ssh-agent
and query it for keys.
Содержание OFED+ Host
Страница 1: ...IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Страница 14: ...xiv IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Страница 22: ...1 Introduction Interoperability 1 4 IB0054606 02 A...
Страница 72: ...3 InfiniBand Cluster Setup and Administration Checking Cluster and Software Status 3 48 IB0054606 02 A...
Страница 96: ...4 Running MPI on QLogic Adapters Debugging MPI Programs 4 24 IB0054606 02 A...
Страница 140: ...6 SHMEM Description and Configuration SHMEM Benchmark Programs 6 32 IB0054606 02 A...
Страница 148: ...8 Dispersive Routing 8 4 IB0054606 02 A...
Страница 164: ...9 gPXE HTTP Boot Setup 9 16 IB0054606 02 A...
Страница 176: ...A Benchmark Programs Benchmark 3 Messaging Rate Microbenchmarks A 12 IB0054606 02 A...
Страница 202: ...B SRP Configuration OFED SRP Configuration B 26 IB0054606 02 A Notes...
Страница 206: ...C Integration with a Batch Queuing System Clean up PSM Shared Memory Files C 4 IB0054606 02 A...
Страница 238: ...E ULP Troubleshooting Troubleshooting SRP Issues E 20 IB0054606 02 A...
Страница 242: ...F Write Combining Verify Write Combining is Working F 4 IB0054606 02 A Notes...
Страница 280: ...G Commands and Files Summary of Configuration Files G 38 IB0054606 02 A...
Страница 283: ......