Git分布式开发之生成ssh公钥

时间:2025-03-20 15:07:19

1.在Preferences>Network Connections>SSH2,切换至Key Management面板,点击

Git分布式开发之生成ssh公钥

2.点击生成Genarate RSA Key,并修Commnet,然后点Save Private Key.文件名与Comment保持一致。

Git分布式开发之生成ssh公钥

3.点击General面板,点击Add Private Key,选中刚才生成的key

Git分布式开发之生成ssh公钥

4.到这是你的SSH私钥密钥已经生成,然后把公钥(.pub的文件)发给Git管理员即可。