Changes between Version 65 and Version 66 of HowTo/LoginToNodes


Ignore:
Timestamp:
06/09/14 11:32:00 (5 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/LoginToNodes

    v65 v66  
    129129 1. Login to your node:
    130130    a. Option 1: Use the `-i` option on SSH to specify the path to your private key
     131{{{
     132       ssh -i <private key location> <username>@hostname -p <port>
     133}}}
    131134    b. Option 2 (recommended): Use an ssh agent.
    132        i. Start the ''ssh agent'' and tell it the location of your private key using `ssh-add`.
     135       i. Start the ''ssh agent'' and tell it the location of your private key using `ssh-add` (enter the passphrase to your private key when prompted).
    133136{{{
    134137        eval `ssh-agent -s`
    135138        ssh-add .ssh/id_rsa
    136139}}}
    137        ii. Now ssh should work ''without'' the `-i` option (using the agent you started in the previous step)
     140       ii. Now ssh should work ''without'' the `-i` option (using the agent you started in the previous step):
     141{{{
     142       ssh <username>@hostname -p <port>
     143}}}
    138144 
    139145