- Set an environment variable named GIT_SSH to the full path of plink.exe (ie. C:\Program Files\PuTTY\plink.exe)
- Include your login name in git urls. Otherwise plink.exe will report strange errors.
Monday, May 05, 2008
Git with Putty on Windows
It took me awhile to find this, so here it is for others. If you want git to use your private ssh keys through pageant that comes with PuTTY here's how to do it from http://www.mail-archive.com/msysgit@googlegroups.com/msg00269.html
Subscribe to:
Post Comments (Atom)
3 comments:
Thanks a lot, was scratching my head for awhile
Thanks, this was just what I was looking for.
Hello, perhaps there is needed to add to the %PATH% the folder of PuTTY
set PATH=%PATH%;C:\Program Files (x86)\PuTTY
if change from System Propierties, need to restart the console CMD.
Post a Comment