error: cannot run ssh: No such file or directory - cygwin git

在 Cygwin 中安装完 git 后,如果直接连接到 github 直接进行仓库操作,会报如下的错误。

Administrator@99638e047c1e4a0 /cygdrive/f/Project/AutoIt
$ git pull
error: cannot run ssh: No such file or directory
fatal: unable to fork

查看用户主目录,确实没有对应的 .ssh 目录。

 

解决方法:

开启 setup.exe 程序,找到 openssh 进行安装。安装后的配置操作,可以参考这个链接

你可能感兴趣的:(Directory)