TraceLife

真正的幸福,在于对平淡生活的热爱……

导航

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

Posted on 2012-03-20 03:02  hallo  阅读(8268)  评论(0编辑  收藏  举报

在 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 进行安装。安装后的配置操作,可以参考这个链接