Changes between Initial Version and Version 1 of doc/install/passwordless


Ignore:
Timestamp:
Sep 10, 2014 10:26:15 AM (10 years ago)
Author:
knoop
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/install/passwordless

    v1 v1  
     1= How to establish passwordless SSH login between two hosts =
     2
     3To ensure proper function of '''mrun''' for remote jobs, passwordless login must be established in both directions, from the local to the remote host as well as from the remote to the local host!
     4This is required by '''mrun''' for carrying out several crucial tasks, e.g. for automatic submission of restart runs). Please carry out the following steps:
     5
     6   1. From your local host login on your remote host and create a pair of private/public ssh-keys (replace <remote-username> and <remote-host> accordingly):
     7{{{
     8      ssh <remote-username>@<remote-host>
     9      ssh-keygen -t dsa
     10}}}
     11      Enter <return> for any query, until the shell-prompt appears again.
     12
     13   2. On your remote host, define the public key as one of the authorized keys to access the system:
     14{{{
     15      cat  id_dsa.pub  >>  authorized_keys
     16}}}
     17
     18   3. Copy the public key to the respective local host (replace <local-username> and <local-host> accordingly):
     19{{{
     20      ssh-copy-id -i id_dsa.pub <local-username>@<local-host>
     21}}}
     22
     23   4. Repeat the first 3 steps vice versa starting from your remote host.
     24\\