您的位置: 首页 > 文章 > Git 创建ssh秘钥对和在github上配置公钥 Git 创建ssh秘钥对和在github上配置公钥 分类: 文章 • 2024-06-04 13:42:10 Git 创建ssh秘钥 右键 git bush,输入 ssh-****** -t rsa 然后一直回车 然后再当前用户的文档(我的电脑-用户里的当前user文档)下生成.ssh 没有后缀的是私钥,不要告诉任何人 pub是公钥,可配置给github服务器 在github上配置公钥 打开pub内容,复制 在github的setting上,打开SSH and GPG keys 新建ssh,粘贴上pub公钥