这篇文章主要介绍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]-----+ jike@20161008-173839 MINGW32 ~/.ssh $ ll 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”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注亿速云行业资讯频道!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。