faq-setting-up-passwordless-ssh.md
... ...
@@ -1,19 +1,25 @@
1 1
# Setting up password-less ssh
2
- * NOTE: All sbgrid bound Servers and Workstations require 'pub' key to be ***uploaded***: See Below
2
+ * ***NOTE***: All SBGrid bound Servers and Workstations on the SBGrid network in the Longwood area require 'pub' key to be ***uploaded*** to our. authentication servers. Please follow the steps named "Generate SSH Keys" and "For Systems on the SBGrid network at Longwood" below.
3
+
4
+ Off Quad systems (at MCB, HU, Tufts, Genzyme) please following the steps named "Generate SSH Keys" and "For Off-Quad SBGrid Systems" below.
3 5
6
+### Generate SSH Keys
7
+
4 8
1. Generate ssh key-pair for local workstation: `ssh-keygen -t rsa` ; accept default options and hit return when prompted for passphrase.
5
- 2. Copy public key (`~/.ssh/id_rsa.pub`) to remote system: `scp ~/.ssh/id_rsa.pub remotesys:~/` If this is the first connection to the remote system, type `yes` to accept the remote system key.
6
- 3. Login to remote system, configure remote system to trust public key:
9
+
10
+#### For Off-Quad SBGrid Systems
11
+ 1. Copy public key (`~/.ssh/id_rsa.pub`) to remote system: `scp ~/.ssh/id_rsa.pub remotesys:~/` If this is the first connection to the remote system, type `yes` to accept the remote system key.
12
+ 2. Login to remote system, configure remote system to trust public key:
7 13
8 14
* `ssh remotesys`
9 15
* create ~/.ssh if it doesn't exist: `mkdir ~/.ssh`
10 16
* `cat ~/id_rsa.pub >> ~/.ssh/authorized_keys`
11 17
* `chmod 700 ~/.ssh`
12 18
* `chmod 640 ~/.ssh/authorized_keys`
13
- 1. Logout of remote system, and repeat login to check that everything works correctly. If so, `~/id_rsa.pub` can be removed from the remote system.
19
+ 3. Logout of remote system, and repeat login to check that everything works correctly. If so, `~/id_rsa.pub` can be removed from the remote system.
14 20
15
-###For SBGrid Systems
16
-There is no need for ~/.ssh/authorized_keys, the file is ignored on all our linux systems. The 'pub' key ***must*** be uploaded to our authentication servers. These examples assume you copied the pub key over, you can also copy and paste the entire contents of the .pub file between systems.
21
+###For Systems on the SBGrid network at Longwood
22
+There is no need for ~/.ssh/authorized_keys, the file is ignored on all our linux systems on the SBGrid network at Longwood. The 'pub' key ***must*** be uploaded to our authentication servers. These examples assume you copied the pub key to your Linux home directory, you can also copy and paste the entire contents of the .pub file between systems.
17 23
18 24
You will need to run these commands on **crystal.harvard.edu**. If you are a Consortium member use shell.sbgrid.org.
19 25