Changes between Version 4 and Version 5 of ArcherSshAgent


Ignore:
Timestamp:
04/12/15 13:41:33 (4 years ago)
Author:
annette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ArcherSshAgent

    v4 v5  
    11= SSH setup for PUMA to Archer =  
    22 
    3 '''Please Note:''' These instructions assume that you DO NOT already have an ssh-key set up on PUMA. 
     3'''Please Note:''' If you already have ssh keys set up on PUMA skip to thw .  
    44 
    55== 1. Generate the authentication key on PUMA and install it on ARCHER ==  
     
    5353}}} 
    5454 
    55 The ssh agent should keep running even when you log out of puma, however you may need to restart it from time to time. 
     55You may need to do this every time a new agent is started. The ssh agent should keep running even when you log out of puma, however it may stop from time to time, for example if PUMA is rebooted.  
    5656 
    5757== 4. Checks this works by ssh-ing into ARCHER ==  
    5858 
    5959You should now be able to ssh from PUMA to ARCHER without a password or passphrase.  
     60 
     61---- 
     62 
     63== Using an existing ssh agent ==  
     64 
     65If you already have ssh keys and an ssh agent set up on PUMA, for example from the UM training course or for MONSooN, you can use this to connect to ARCHER.  
     66 
     67First you need to find the name of the public key in your `.ssh` directory:  
     68{{{ 
     69puma$ ls ~/.ssh 
     70environment.puma  id_rsa  id_rsa.pub  known_hosts  ssh-setup 
     71}}} 
     72The public key ends with .pub and will usually be called `id_rsa.pub` or `id_dsa.pub`. 
     73 
     74Now run the script to copy the key to your Archer account, making sure to use the correct name for your key: 
     75{{{ 
     76puma$ ssh-copy-id -i ~/.ssh/id_rsa.pub <archer-username>@login.archer.ac.uk 
     77}}} 
     78You will be prompted for your Archer password. 
     79 
     80If successful, you should now be able to login to Archer without a password.