Changes between Version 1 and Version 2 of ArcherSshAgent
- Timestamp:
- 04/12/15 12:01:20 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ArcherSshAgent
v1 v2 8 8 9 9 {{{ 10 puma$ source ~um/um-training/install-ssh-keys <archer-user -name>@login.archer.ac.uk10 puma$ source ~um/um-training/install-ssh-keys <archer-username>@login.archer.ac.uk 11 11 }}} 12 12 13 When prompted to Enter passphrase, this should be a fairly complicated and unguessable passphrase. You can use spaces in the passphrase if it helps you to remember it more readily. It is recommended that you don’t use your password in case it is hacked.13 When prompted to "Enter passphrase", this should be a fairly complicated and unguessable passphrase. You can use spaces in the passphrase if it helps you to remember it more readily. It is recommended that you don’t use your password in case it is hacked. 14 14 15 15 '''Warning''': '''DO NOT''' use an empty passphrase as this presents a security issue. … … 17 17 After generating your ssh-key, the script will copy it over to ARCHER. 18 18 19 When prompted for Password, enter your Archerpassword.19 When prompted for "Password", enter your ACRHER password. 20 20 21 21 == 2. Verify the authentication works == … … 23 23 {{{ 24 24 puma$ ssh <archer-user-name>@login.archer.ac.uk 25 Enter passphrase for key ' <puma-user-name>'@puma.nerc.ac.uk:25 Enter passphrase for key '/home/<puma-username>/.ssh/id_dsa':: 26 26 [TYPE_YOUR_PASSPHRASE] 27 27 }}} 28 28 29 If you don’t get asked for your Passphrase (i.e. DSA key), then something has gone wrong. In this case, make sure the public key, was successfully copied over to ARCHER by logging into ARCHER and opening the file {{{~/.ssh/authorized_keys}}}. It should contain something similar to:29 If you don’t get asked for your Passphrase, then something has gone wrong. In this case, make sure the public key, was successfully copied over to ARCHER by logging into ARCHER and opening the file {{{~/.ssh/authorized_keys}}}. It should contain something similar to: 30 30 31 31 {{{ … … 38 38 }}} 39 39 40 Once you have this part working, log out of Archer. 40 41 If it doesn’t, and no errors were reported from the {{{install-ssh-keys script}}}, please [wiki:ContactUs contact the CMS team]. 42 43 Once you have this part working, log out of ARCHER. 41 44 42 45 == 3. Start up ssh-agent == … … 46 49 {{{ 47 50 puma$ ssh-add 48 Enter passphrase for ~/.ssh/id_dsa (<puma-user-name>@puma.nerc.ac.uk): 51 Enter passphrase for /home/<puma-username>/.ssh/id_rsa: 52 : 49 53 [TYPE_YOUR_PASSPHRASE] 50 54 }}} 51 55 52 56 You may need to do this every time a new ssh-agent is started, i.e. every time you re-start your local session. 57 58 == 4. Checks this works by ssh-ing into ARCHER == 59 60 You should now be able to ssh from PUMA to ARCHER without a password or passphrase.