User guide

3InfiniBand
®
Cluster Setup and Administration
Host Environment Setup for MPI
3-42 IB0054606-02 A
3. On each of the IB node systems, create or edit the file
/etc/ssh/ssh_known_hosts. You will need to copy the contents of the file
/etc/ssh/ssh_host_dsa_key.pub from ip-fe to this file (as a single line),
and then edit that line to insert
ip-fe ssh-dss at the beginning of the line.
This is very similar to the standard
known_hosts file for ssh. An example
line might look like this (displayed as multiple lines, but a single line in the
file):
ip-fe ssh-dss
AAzAB3NzaC1kc3MAAACBAPoyES6+Akk+z3RfCkEHCkmYuYzqL2+1nwo4LeTVW
pCD1QsvrYRmpsfwpzYLXiSJdZSA8hfePWmMfrkvAAk4ueN8L3ZT4QfCTwqvHV
vSctpibf8n
aUmzloovBndOX9TIHyP/Ljfzzep4wL17+5hr1AHXldzrmgeEKp6ect1wxAAAA
FQDR56dAKFA4WgAiRmUJailtLFp8swAAAIBB1yrhF5P0jO+vpSnZrvrHa0Ok+
Y9apeJp3sessee30NlqKbJqWj5DOoRejr2VfTxZROf8LKuOY8tD6I59I0vlcQ
812E5iw1GCZfNefBmWbegWVKFwGlNbqBnZK7kDRLSOKQtuhYbGPcrVlSjuVps
fWEju64FTqKEetA8l8QEgAAAIBNtPDDwdmXRvDyc0gvAm6lPOIsRLmgmdgKXT
GOZUZ0zwxSL7GP1nEyFk9wAxCrXv3xPKxQaezQKs+KL95FouJvJ4qrSxxHdd1
NYNR0DavEBVQgCaspgWvWQ8cL
0aUQmTbggLrtD9zETVU5PCgRlQL6I3Y5sCCHuO7/UvTH9nneCg==
Change the file to mode 600 when you are finished editing.
4. On each node, the system file
/etc/ssh/sshd_config must be edited, so
that the following four lines are uncommented (no # at the start of the line)
and set to yes. (These lines are usually there, but are commented out and
set to no by default.)
RhostsAuthentication yes
RhostsRSAAuthentication yes
HostbasedAuthentication yes
PAMAuthenticationViaKbdInt yes
5. After creating or editing the three files in Steps 2, 3, and 4, sshd must be
restarted on each system. If you are already logged in via
ssh (or any other
user is logged in via
ssh), their sessions or programs will be terminated, so
restart only on idle nodes. Type the following (as root) to notify
sshd to use
the new configuration files:
# killall -HUP sshd
NOTE
This command terminates all ssh sessions into that system. Run from
the console, or have a way to log into the console in case of any
problem.