いっつも忘れるので備忘録です。
[test01@PDBServerT01 iso]$ ssh-keygen -t rsa -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/home/test01/.ssh/id_rsa):
Created directory ‘/home/test01/.ssh’.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/test01/.ssh/id_rsa
Your public key has been saved in /home/test01/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:uZLi2iFnb4uccR4c5ekutlELkowyIavWFI+mafD2+tY test01@PDBServerT01
The key’s randomart image is:
+—[RSA 4096]—-+
| |
| |
|o . . |
|.o o+. o o |
|= .++.o S |
|o+* o * o |
|.=+.*.B + |
|o. O.XE= |
| o=Oo=+. |
+—-[SHA256]—–+