首页> 软件配置及服务 >软件配置 >其它软件配置 其它软件配置
windows生成git ssh密钥
作者:小萝卜 2021-12-24 【 其它 Git 】 浏览 1375
简介1.安装git,首先去git官网下载git,https://git-scm.com/downloads,下载.exe格式并安装。
1.安装git,首先去git官网下载git,https://git-scm.com/downloads,下载.exe格式并安装。
安装完是这样的
2.安装TortoiseGit,下载地址https://tortoisegit.org/download/,如下
记得安装过程中要添加一个git.exe文件,这个文件在上一个安装文件的路径下面:
3.从程序目录启动“Git Bash”
4.键入命令:ssh-keygen -t rsa -C "email@email.com","email@email.com"是你的github账号
5.此时,你的C:\Users\admin\.ssh这个路径下会生成两个文件:id_rsa和id_rsa.pub
6.用记事本打开id_rsa.pub文件,复制内容,在github.com的网站上到ssh密钥管理页面,添加新公钥,随便取个名字,内容粘贴刚才复制的内容。
7.完成
很赞哦! (0)
相关文章
- supervisor的安装和配置
- 在windows下如何查看80端口占用情况?是被哪个进程占用?如何终止?
- OneinStack脚本Let's Encpty SSL证书未能自动续约解决办法
- flashfxp v5.4 破解版
- Linux下运行getwaywork 报错stream_socket_server() has been disabled for security reasons in file
- Git安装和基本使用
- ckeditor增加编辑代码功能--使用官方推荐Code Snippet插件
- index.html:505 WebSocket connection to 'ws://39.114.25.114:8282/' failed: Error in connection establ
- visual studio code怎么设置默认打开谷歌浏览器?
- CKfinder开启图片上传后自动添加水印(PHP)