faq-setting-up-passwordless-ssh.md
... ...
@@ -12,21 +12,24 @@
12 12
* `chmod 640 ~/.ssh/authorized_keys`
13 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.
14 14
15
-** FOR SBGRID SYSTEMS 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 exapmles assume you copied the pub key over, you can also copy and paste the entire contents of the .pub file between the ""'s.
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.
16 17
17
- ipa user-mod $USER --sshpubkey="$(cat .ssh/id_rsa.pub)"
18
+You will need to run these commands on **crystal.harvard.edu**.
19
+
20
+ ipa user-mod $USER --sshpubkey="$(cat ~/.ssh/id_rsa.pub)"
18 21
19 22
Or for multiple keys
20 23
21
- ipa user-mod $USER --sshpubkey="$(cat .ssh/id_rsa.pub)" --sshpubkey="$(cat .ssh/id_ed25519.pub)"\
22
- --sshpubkey="$(cat .ssh/othersystem_id_rsa.pub)"
24
+ ipa user-mod $USER --sshpubkey="$(cat ~/.ssh/id_rsa.pub)" --sshpubkey="$(cat ~/.ssh/id_ed25519.pub)"\
25
+ --sshpubkey="$(cat ~/.ssh/othersystem_id_rsa.pub)"
23 26
24 27
If you are using csh/tcsh shell
25 28
26
- ipa user-mod $USER --sshpubkey="`cat .ssh/id_rsa.pub`"
29
+ ipa user-mod $USER --sshpubkey="`cat ~/.ssh/id_rsa.pub`"
27 30
28 31
If you get a 'Kerberos Credential' error you will need to enter the following command, type your password and try again.
29 32
30 33
kinit $USER
31 34
32
-** The 'ipa' command is not available on most workstations, connect to crystal.harvard.edu and perform the commands there.
35
+*Note*: The 'ipa' command is not available on most workstations, connect to crystal.harvard.edu and perform the commands there.