Git fails to push puttycyg due to SSH error

I use puttycyg as a Cygwin terminal to develop my rails. I created a git repository on the project management website, and now I want to click on my code with the following command:

git push origin master

I get the following error:

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

I know ssh is used for authentication, but I don’t know if I need to install something to use it.

+5
source share
2 answers

The problem was that I did not have SSH installed with Cygwin. I ran Cygwin setup.exe again, and when I was asked to select the packages, I searched for ssh and checked everything I found:

alt text

, , ssh-keygen , , .

+8

, OpenSSH. OpenSSH PuTTY. / Windows SSH, git.

+1

All Articles