$ ssh-keygen -b 4096ตัวอย่างหน้าจอที่ได้
choo@debdock01:~$ ssh-keygen -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/home/choo/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/choo/.ssh/id_rsa.
Your public key has been saved in /home/choo/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:XOFdxD3Um10hqZo50qGqREj8SHhF5MlCcj0RgZoVXEE choo@debdock01
The key's randomart image is:
+---[RSA 4096]----+
|..+OE= . +=+o|
|o+++o. . o oo.+|
|.Bo +. o o *|
|=.+. . o . o.|
| o o S = |
| . o * |
| . . . . |
| . . |
| .. |
+----[SHA256]-----+
choo@debdock01:~$ ls -l .ssh
total 12
-rw------- 1 choo choo 414 Aug 30 12:26 authorized_keys
-rw------- 1 choo choo 3243 Aug 30 13:23 id_rsa
-rw-r--r-- 1 choo choo 740 Aug 30 13:23 id_rsa.pub