Difference between revisions of "Tutorial: Running MPI Programs on Hadoop Cluster"
(Created page with "--~~~~ ---- =Setup password-less ssh= * Follow directions in [https://source.ggy.bris.ac.uk/wiki/Configure_ssh_for_MPI this page], or follow the steps summarized below. * lo...") |
(→Setup password-less ssh) |
||
Line 5: | Line 5: | ||
=Setup password-less ssh= | =Setup password-less ssh= | ||
* Follow directions in [https://source.ggy.bris.ac.uk/wiki/Configure_ssh_for_MPI this page], or follow the steps summarized below. | * Follow directions in [https://source.ggy.bris.ac.uk/wiki/Configure_ssh_for_MPI this page], or follow the steps summarized below. | ||
− | * login to Linux-Mint | + | * We'll use 3 of the Linux-Mint machines for this demo. |
+ | <onlysmith> | ||
+ | ** 131.229.103.46 a.k.a. FH345-03 | ||
+ | ** 131.229.103.62 a.k.a. FH345-09 | ||
+ | ** 131.229.103.63 a.k.a. FH345-04 | ||
+ | </onlysmith> | ||
+ | * login to one of the Linux-Mint machines with your 352a-xx account. | ||
* enter command: | * enter command: | ||
ssh-keygen -t rsa | ssh-keygen -t rsa |
Revision as of 12:59, 15 October 2013
--D. Thiebaut (talk) 13:57, 15 October 2013 (EDT)
Setup password-less ssh
- Follow directions in this page, or follow the steps summarized below.
- We'll use 3 of the Linux-Mint machines for this demo.
- login to one of the Linux-Mint machines with your 352a-xx account.
- enter command:
ssh-keygen -t rsa ls .ssh cd .ssh mv id_rsa id_rsa.mpi mv id_rsa.pub id_rsa.mpi.pub ls -l total 12 -rw------- 1 352a 352a 1675 Oct 15 13:33 id_rsa.mpi -rw------- 1 352a 352a 396 Oct 15 13:33 id_rsa.mpi.pub -rw-r--r-- 1 352a 352a 444 Oct 14 14:26 known_hosts cat id_rsa.mpi.pub > authorized_keys emacs -nw config (and add the next line to the file) IdentityFile ~/.ssh/id_rsa.mpi