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(私钥)

     


 
原文地址:https://www.cnblogs.com/season2009/p/13972456.html