Changes between Initial Version and Version 1 of ArcherSshAgent


Ignore:
Timestamp:
25/11/15 13:04:03 (4 years ago)
Author:
annette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ArcherSshAgent

    v1 v1  
     1= SSH setup for PUMA to Archer =  
     2 
     3'''Please Note:''' These instructions assume that you DO NOT already have an ssh-key set up on PUMA. 
     4 
     5== 1. Generate the authentication key on PUMA and install it on ARCHER ==  
     6 
     7Run the install-ssh-keys script. This will take you through ssh-key creation and copy the key over to ARCHER. 
     8 
     9{{{ 
     10puma$ source ~um/um-training/install-ssh-keys <archer-user-name>@login.archer.ac.uk 
     11}}} 
     12 
     13When prompted to Enter passphrase, this should be a fairly complicated and unguessable passphrase. You can use spaces in the pass phrase 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 
     15'''Warning''': '''DO NOT''' use an empty passphrase as this presents a security issue. 
     16 
     17After generating your ssh-key, the script will copy it over to ARCHER. 
     18 
     19When prompted for Password, enter your Archer password. 
     20 
     21== 2. Verify the authentication works ==  
     22 
     23{{{ 
     24puma$ ssh <archer-user-name>@login.archer.ac.uk 
     25Enter passphrase for key '<puma-user-name>'@puma.nerc.ac.uk: 
     26[TYPE_YOUR_PASSPHRASE] 
     27}}} 
     28 
     29If 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: 
     30 
     31{{{ 
     32ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAt1JmHYgsuf0UWVLqNqnDSaUUP2xJ+Um0H5WnUt/i 
     332mxhlBrwOtvVWRjnzo5EcylZJs/Cg5JVe4UR6toqNXbZG1RXscLQnQoPAvzFoWLzfP7Q3lrzeC1S 
     34kM2FWfWC38ga3Svs6fm63/I7WmJy+4D8BWWaXj/9yM1OskFj6yfWItr150rwwNauOQbWJhl7I/Kk 
     35fhVPBvZ9vHiAK4cjUMQ9fFS1dij3GSBmOfu2RuMgNNg9y1MLSzEk2242F4tOg7paTk7wwUZ+ZLqR 
     36BtT2aREnjIGI7KvACBZD1y40tXXPIZw9m2Dl0dK7mFQ2/YFWh2/NAmkFMXzDOmkg0biq1m+QKw== 
     37ros@puma 
     38}}} 
     39 
     40Once you have this part working, log out of Archer. 
     41 
     42== 3. Start up ssh-agent == 
     43 
     44Run the following command and type your passphrase: 
     45 
     46{{{ 
     47puma$ ssh-add 
     48Enter passphrase for ~/.ssh/id_dsa (<puma-user-name>@puma.nerc.ac.uk): 
     49[TYPE_YOUR_PASSPHRASE] 
     50}}} 
     51 
     52You may need to do this every time a new ssh-agent is started, i.e. every time you re-start your local session.