Git error: Cannot Spawn ~\.ssh
error: cannot spawn C:\Users\Alec\.ssh: No such file or directory fatal: unable to fork
My GIT_SSH variable is
C:\Users\Alec\.ssh and in that directory I have my RSA keys. I even tried generating a new key and using that one, just to receive a the same error.
- Can't delete folder after failed git clone
- git: determine if there are file that are not on repo, but should be added
- Could not create directory '/c/\303\234/.ssh'
- git commands not working in git bash (windows 7 x64)
- Cannot access remote git repository
- GIT Rebase operation was interrupted by a PC crash. Now repository is unavailable
All of my local repos now show this error – I’m not sure what’s gone wrong.
Edit: Not that I think it matters, but I get the same issue whether I use the Command Prompt or Git Bash.
3 Solutions collect form web for “Git error: Cannot Spawn ~\.ssh”
GIT_SSH is supposed to point to the ssh client (ssh.exe in your case), not the
I’ve got the same problem with you. and all what i do is to shut down my comodo firewall, and that really works. so i suggest you close your firewall and antivirus software. Good luckl.
I had the same problem as well. I thought is was something with the firewall as well, but I ended up re-installing Git on my PC and then it suddenly worked like a charm.