[ACCEPTED]-cannot spawn C:\ProgramFiles(x86)\Git\cmd\: No such file or directory.-git-clone

Accepted answer
Score: 20

Following Git with SSH on Windows, you see that GIT_SSH should 2 reference the ssh executable, not just its 1 path:

(old msysgit)
set GIT_SSH=C:\Program Files (x86)\Git\bin\ssh.exe

(new 2015 git for Windows)
set GIT_SSH=C:\Program Files\Git\usr\bin\ssh.exe
Score: 9

In my case, since I was using Git Extensions (3.3.1), I 3 had adjust my SSH Client path.

Todo so, I went to Menu 2 Tools > Settings > Git Extensions (category on left side) > SSH and adjusted 1 my SSH Client path to C:\Program Files\git\usr\bin\SSH.EXE

More Related questions