root@10-2-144-102:~# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:PBf2vgXQlgU0plOxPSkoVLUzf89n21g8OYlGKAXD0Qc root@10-2-144-102
The key's randomart image is:
+---[RSA 2048]----+
| o=+EXo. |
| . .oB O . |
| . B.@ + |
| . o.*.= . |
| S...o.. .|
| o.....++|
| .o.=B|
| .o +*|
| . ...|
+----[SHA256]-----+