Changes between Version 65 and Version 66 of HowTo/LoginToNodes
- Timestamp:
- 06/09/14 11:32:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/LoginToNodes
v65 v66 129 129 1. Login to your node: 130 130 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 }}} 131 134 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). 133 136 {{{ 134 137 eval `ssh-agent -s` 135 138 ssh-add .ssh/id_rsa 136 139 }}} 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 }}} 138 144 139 145