Git 常用操作(十二) 生成ssh key

来源:互联网 发布:淘宝亲宝贝平台的卖家 编辑:程序博客网 时间:2024/06/04 00:02

$ ssh-keygen -t rsa -C "danyang.lu@cootek.cn"



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:XrQ60VpvNDjxcqvOsfBuK0ZaomQM+oRdQyZXcGXMrEA danyang.lu@cootek.cn
The key's randomart image is:
+---[RSA 2048]----+
|   .Eoo=o        |
|  . =. .+        |
|   = . .  o      |
|  . o .  o =     |
| + + .  S O =    |
|o o + ..o* * o   |
| o o . =* . +    |
|  . . . o=.=     |
|       . =O.     |

+----[SHA256]-----+   



最后生成的目录   /c/Users/Administrator/.ssh/