版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/chenchenm/article/details/80881281
$ ssh-keygen -t rsa -C "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):
Created directory '/c/Users/Administrator/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:oarce+n5wrKA4sBXHu4NmPguLpn/XgsZ55ZHkpNXDFA [email protected]
The key's randomart image is:
+---[RSA 2048]----+
| .oE |
| o |
| . o |
| + o |
| .oB S |
|... **.* |
|+=.++==.. |
|Boo+o+B+ |
|o+*=*B++. |
+----[SHA256]-----+
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):
Created directory '/c/Users/Administrator/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:oarce+n5wrKA4sBXHu4NmPguLpn/XgsZ55ZHkpNXDFA [email protected]
The key's randomart image is:
+---[RSA 2048]----+
| .oE |
| o |
| . o |
| + o |
| .oB S |
|... **.* |
|+=.++==.. |
|Boo+o+B+ |
|o+*=*B++. |
+----[SHA256]-----+