共计 1420 个字符,预计需要花费 4 分钟才能阅读完成。
这篇文章主要介绍 windows 平台如何生成 git key,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
jike@20161008-173839 MINGW32 ~/.ssh
$ cd
jike@20161008-173839 MINGW32 ~
$ mkdir ~/.ssh
jike@20161008-173839 MINGW32 ~
$ cd .ssh/
jike@20161008-173839 MINGW32 ~/.ssh
$ ssh-keygen -t rsa -C P
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/jike/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/jike/.ssh/id_rsa.
Your public key has been saved in /c/Users/jike/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:1oyTPAJX+/Mh077k/Q1tTUqz6nKrwKmgzV6t/MWMm8E P
The key s randomart p_w_picpath is:
+---[RSA 2048]----+
| . |
| . . |
| . . . |
| o . * . |
| . S B o o .|
| * B * o *.|
| . . E + + + +|
| + + o *.o.+ o.|
| ..+ +.+ .=*...o|
+----[SHA256]-----+
total 5
-rw-r--r-- 1 jike 197121 1679 十月 14 11:22 id_rsa
-rw-r--r-- 1 jike 197121 383 十月 14 11:22 id_rsa.pub
jike@20161008-173839 MINGW32 ~/.ssh
$ cat id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+o+QEO4BMN1YTJg5mLzldgRn62l0Oww8aXRSryBueEO//DSAfRV16M2opyfHo0VKt4KSH0IV3GkhjKUEoCd+kBnryZQrRpPKc/dfcbu2i3LFe33LIw1dp71K3yGNmeU4sO+HYdYNqs+WsjYqkdkCLIKvgiJPeU4tuY54iM+AHZSJruL12nT0YGGbw/KTBjDMSO+M9TZG6ce5wqmJocHRiNuYTP5Fpd9Ec4n3mGtTuphceby1hnQPHlyHvcu3SG3FsZYgqULAgH6XpaXiVwQTW4cBTMZasmSC+ZFS6r0KG6EPS2Xd/vWW1JM6CQNRc7LObssu43azy2OcLTET1RG/f P
以上是“windows 平台如何生成 git key”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注丸趣 TV 行业资讯频道!
正文完