在 Windows 10 上使用 plink (Pageant) 和 Git for Windows
目前 适用于Windows的Git 安装程序不允许我在安装时选择Tortoise Plink,因为 在Stackoverflow上有这样的描述.
相反,我跟着安装,并设置了一个环境变量。
![](https://pi3g.com/wp-content/uploads/2022/08/image.png)
在这里选择 "使用捆绑的OpenSSH"。
![](https://pi3g.com/wp-content/uploads/2022/08/image-1-590x1024.png)
在Windows搜索中搜索 "enviro"。(我的截图是德文的,但如果你搜索英文术语,也会找到正确的东西)。
![](https://pi3g.com/wp-content/uploads/2022/08/image-2.png)
点击环境变量
![](https://pi3g.com/wp-content/uploads/2022/08/image-3.png)
点击新建
并添加新的系统变量。
![](https://pi3g.com/wp-content/uploads/2022/08/image-4.png)
名称: GIT_SSH
值。C:\Program Files\PuTTY\plink.exe
使用OK、OK、OK进行应用。
现在应该可以了,祝你的项目顺利。