test@ubuntu:~$ ls ~/.ssh
known_hosts
test@ubuntu:~$ ssh-keygen -t rsa -P ''"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/test/.ssh/id_rsa):
Your identification has been saved in /home/test/.ssh/id_rsa.
Your public key has been saved in /home/test/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:HgooA/e6K3WsdHL0vsbl9/jSmZARR+vHJasdf09naCu0Q test@ubuntu
The key's randomart image is:
+---[RSA 2048]----+
| ..+ |
| ..o.+ |
|. . os + . |
|.. o ..+ + o |
|o . So= + |
| osd....ooo = |
| o.= o. .o.o |
|+.o.+ . o.+ |
|o++=o. ..+o |
+----[SHA256]-----+
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
ssh 生成公钥
最新推荐文章于 2024-06-18 15:38:00 发布