Search code examples
windowsgitgit-clone

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 git@github.com:organization/xxx.git

I got this error:

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

Am I missing something?


Solution

  • You don't have ssh installed (or don't have it within your search path).

    You can clone from github via http, too:

    git clone http://github.com/organization/xxx