Changes between Initial Version and Version 1 of ArcherSshAgent

25/11/15 13:04:03 (5 years ago)


  • ArcherSshAgent

    v1 v1  
     1= SSH setup for PUMA to Archer =  
     3'''Please Note:''' These instructions assume that you DO NOT already have an ssh-key set up on PUMA. 
     5== 1. Generate the authentication key on PUMA and install it on ARCHER ==  
     7Run the install-ssh-keys script. This will take you through ssh-key creation and copy the key over to ARCHER. 
     10puma$ source ~um/um-training/install-ssh-keys <archer-user-name> 
     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. 
     15'''Warning''': '''DO NOT''' use an empty passphrase as this presents a security issue. 
     17After generating your ssh-key, the script will copy it over to ARCHER. 
     19When prompted for Password, enter your Archer password. 
     21== 2. Verify the authentication works ==  
     24puma$ ssh <archer-user-name> 
     25Enter passphrase for key '<puma-user-name>' 
     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: 
     32ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAt1JmHYgsuf0UWVLqNqnDSaUUP2xJ+Um0H5WnUt/i 
     40Once you have this part working, log out of Archer. 
     42== 3. Start up ssh-agent == 
     44Run the following command and type your passphrase: 
     47puma$ ssh-add 
     48Enter passphrase for ~/.ssh/id_dsa (<puma-user-name> 
     52You may need to do this every time a new ssh-agent is started, i.e. every time you re-start your local session.