|
- Timestamp:
-
Jul 2, 2008, 4:31:26 PM (16 years ago)
- Author:
-
oliver
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
14 | 14 | Now 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... |
15 | 15 | |
16 | | If you decide to use a "real" password, then you also have to follow point (3) below. |
| 16 | If 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! |
17 | 17 | |
18 | 18 | |
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: |
21 | 20 | |
22 | 21 | {{{ |
23 | | ssh-copy-id -i ~/.ssh/id_dsa.pub user@remote-system |
| 22 | scp ~/.ssh/id_dsa.pub user@remote-system:~/key.pub |
| 23 | ssh user@remote-system |
| 24 | cat ~/key.pub >> .ssh/authorized_keys |
| 25 | rm ~/key.pub |
24 | 26 | }}} |
25 | | |
26 | | |
27 | 27 | |
28 | 28 | |
… |
… |
|
46 | 46 | |
47 | 47 | |
48 | | to start a ssh-key-agent. After doing this once, you can use the shell without password for the rest of its lifetime. |
| 48 | to start a ssh-key-agent. |
| 49 | |
| 50 | After 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)! |
49 | 51 | |
50 | 52 | |
|