Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: cannot run ssh: No such file or directory when trying to clone on windows

I am trying to clone a remote repository on Windows, but when I did this:

git clone [email protected]:organization/xxx.git 

I got this error:

error: cannot run ssh: No such file or directory fatal: unable to fork 

Am I missing something?

like image 602
Malloc Avatar asked Sep 24 '12 17:09

Malloc


1 Answers

Check if you have installed ssh-client. This solve the problem on docker machines, even when ssh keys are present:

apt-get install ssh-client 
like image 160
pablorsk Avatar answered Sep 18 '22 15:09

pablorsk