【发布时间】:2009-09-30 15:27:25
【问题描述】:
我已经安装了 msysgit - 我正在尝试让它工作。当我运行 cygwin bash 终端时 - 我可以通过
访问我的 sshssh 用户@host
当我通过 Git Bash 尝试相同的操作时
git ls-remote user@host/path/to/git
我只是得到一个
致命:远端挂断
有什么想法吗?
【问题讨论】:
-
我在使用 git-bash 时遇到了各种各样的问题。 Cygwin 可以正常工作。
-
"git ls-remote" 与 "ssh" 几乎不一样。为什么不试试 ssh?
-
嗨,谢谢。我试过 git ls-remote ssh://user@host/path/to/git - 现在我只是得到“致命:远程结束挂断”。在 cygwin bash - 如果我输入 ssh user@localhost - 我登录没有问题。如果我通过 git bash 尝试它 - 我得到“致命:远程结束挂断”。也许我对 ~/.ssh 文件夹做错了什么?有 c:\cygwin\home\Mick\.ssh 和 c:\users\Mick\.ssh - 我现在有相同的键?