HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT
SSH: Generating public/private rsa key pair
ssh-keygen -b 4096
(RESULT)
cbkadal@cbkadal:~$ ssh-keygen -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cbkadal/.ssh/id_rsa):
Created directory '/home/cbkadal/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/cbkadal/.ssh/id_rsa.
Your public key has been saved in /home/cbkadal/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:VWXYZABCDEFGH/IJKLMNOPQRSTUVWXYZABCDEFGHIJK cbkadal@cbkadal
The key's randomart image is:
+---[RSA 4096]----+
| oo*B=oo o .. E |
| E oo*B=oo o . |
| oo*B=oo o .. E |
| E oo*B=oo o . |
| . E oo*B=oo o |
| . E oo*B=oo o |
| oo*B=oo o .. E |
| oo*B=oo o .. E |
| E oo*B=oo o . |
+----[SHA256]-----+
cbkadal@cbkadal:~$
ls -al .ssh/
cat .ssh/id_rsa.pub
(RESULT)
cbkadal@cbkadal:~$ ls -al .ssh/
total 16
drwx------ 2 cbkadal cbkadal 4096 Jul 17 09:46 .
drwxr-xr-x 5 cbkadal cbkadal 4096 Jul 17 09:46 ..
-rw------- 1 cbkadal cbkadal 3381 Jul 17 09:46 id_rsa
-rw-r--r-- 1 cbkadal cbkadal 741 Jul 17 09:46 id_rsa.pub
cbkadal@cbkadal:~$ cat .ssh/id_rsa.pub
ssh-rsa AAAAB8lmsW9iYNyrxVcSCZWSvkAGYx0hev3C7S1ULGR1E8lmsW9iYNyrxVcSCZWSvkAGYx0hev3C7S1ULGR1E8lmsW9iYNyrxVcSCZWSvkAGYx0hev3C7S1ULGR1E8lmsW9iYNyrxVcSCZWSvkAGYx0hev3C7S1ULGR1E8lmsW9iYNyrxVcSCZWSvkAGYx0hev3C7S1ULGR1E8lmsW9iYNyrxVcSCZWSvkAGYx0hev3C7S1ULGR1E8lmsW9iYNyrxVcSCZWSvkAGYx0hev3C7S1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