git pull/push免密输入

在用TortorseGit pull或push代码免密设置

1,用PuttyGen密码密码、公钥对,把它存储到文件中

2,在git网站上设置帐号ssh公钥

    用PuttyGen生成的公销没有前面字符:ssh-rsa ,需加上。

    我也是对比windows命令生成出来的格式发现

ssh-keygen -t rsa -C "youremail@example.com"

3, 设置remote origin勾选putty key(私钥)

     


 
posted @ 2020-11-14 10:31  Season2009  阅读(125)  评论(0编辑  收藏  举报