6 | | {{{ |
7 | | $ ssh-keygen -t rsa |
8 | | Generating public/private rsa key pair. |
9 | | Enter file in which to save the key (/home/gibuser/.ssh/id_rsa): chris |
10 | | Enter passphrase (empty for no passphrase): |
11 | | Enter same passphrase again: |
12 | | Your identification has been saved in pat. |
13 | | Your public key has been saved in chris.pub. |
14 | | The key fingerprint is: |
15 | | 26:1a:48:91:bb:94:82:b3:83:ea:4e:e2:f7:95:00:08 gibuser@GiB |
16 | | The key's randomart image is: |
17 | | +--[ RSA 2048]----+ |
18 | | |E .. | |
19 | | |. o. | |
20 | | |...+ | |
21 | | |+.+.. | |
22 | | |.=..... S | |
23 | | |+ . o.o. | |
24 | | |oo . o | |
25 | | |= . . | |
26 | | |o+. .. | |
27 | | +-----------------+ |
28 | | $ mv chris.pub ~/.gcf |
29 | | $ mv chris ~/.ssh |
30 | | $ |
31 | | }}} |
| 6 | {{{ |
| 7 | $ ssh-keygen -t rsa |
| 8 | Generating public/private rsa key pair. |
| 9 | Enter file in which to save the key (/home/gibuser/.ssh/id_rsa): chris |
| 10 | Enter passphrase (empty for no passphrase): |
| 11 | Enter same passphrase again: |
| 12 | Your identification has been saved in pat. |
| 13 | Your public key has been saved in chris.pub. |
| 14 | The key fingerprint is: |
| 15 | 26:1a:48:91:bb:94:82:b3:83:ea:4e:e2:f7:95:00:08 gibuser@GiB |
| 16 | The key's randomart image is: |
| 17 | +--[ RSA 2048]----+ |
| 18 | |E .. | |
| 19 | |. o. | |
| 20 | |...+ | |
| 21 | |+.+.. | |
| 22 | |.=..... S | |
| 23 | |+ . o.o. | |
| 24 | |oo . o | |
| 25 | |= . . | |
| 26 | |o+. .. | |
| 27 | +-----------------+ |
| 28 | $ mv chris.pub ~/.gcf |
| 29 | $ mv chris ~/.ssh |
| 30 | $ |
| 31 | }}} |