gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Version 2 and Version 3 of HowToSSHWithoutPassword


Ignore:
Timestamp:
Jul 2, 2008, 4:31:26 PM (16 years ago)
Author:
oliver
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToSSHWithoutPassword

    v2 v3  
    1414Now you are prompted for a password for the private key. You can choose an empty password, which means that you can use your private key without a password. However, if somebody steals your private key, then he can do this too...
    1515
    16 If you decide to use a "real" password, then you also have to follow point (3) below.
     16If you decide to use a "real" password, then you also have to follow point (3) below. This must be done everytime you start a new bash!
    1717
    1818
    19 
    20 (2)  Copy the public key to the remote system, i.e. the subversion server:
     19(2)  Copy the public key to the remote system and cat it into autorized_keys:
    2120
    2221{{{
    23 ssh-copy-id -i ~/.ssh/id_dsa.pub user@remote-system
     22scp ~/.ssh/id_dsa.pub user@remote-system:~/key.pub
     23ssh user@remote-system
     24cat ~/key.pub >> .ssh/authorized_keys
     25rm ~/key.pub
    2426}}}
    25 
    26 
    2727
    2828
     
    4646
    4747
    48 to start a ssh-key-agent. After doing this once, you can use the shell without password for the rest of its lifetime.
     48to start a ssh-key-agent.
     49
     50After doing this once, you can use the shell without password for the rest of its lifetime. When starting a new shell, you must repeat this procedure (exec ssh-agent bash;ssh-add)!
    4951
    5052