Cannot spawn "C:\Program Files\PuTTY\plink.exe": Permission denied

34 Views Asked by At

Trying to clone a repo using ssh key. key is loaded using pageant.

when running the git clone command (git clone [email protected]:company/repo.git) I get this error:

Cloning into 'core'... error: cannot spawn "C:\Program Files\PuTTY\plink.exe": Permission denied error: cannot spawn "C:\Program Files\PuTTY\plink.exe": Permission denied fatal: unable to fork

running on windows 10. putty is latest, GIT_SSH points the the right place:

GIT_SSH="C:\Program Files\PuTTY\plink.exe"

Running cygwin or cmd as administrator did not resolve this.

0

There are 0 best solutions below