Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Git中通过ssh从Windows服务器克隆到Mac客户端?_Git_Ssh - Fatal编程技术网

如何在Git中通过ssh从Windows服务器克隆到Mac客户端?

如何在Git中通过ssh从Windows服务器克隆到Mac客户端?,git,ssh,Git,Ssh,很好用。 但是当我试着 ssh user@example.com 我得到 我正在运行Bitvise SSH服务器。 救命 固定 我使用cydwin+openssh+cygwin git而不是Bitvise SSH服务器 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 现在工作正常。回购是否存

很好用。 但是当我试着

ssh user@example.com
我得到

我正在运行Bitvise SSH服务器。 救命

固定

我使用cydwin+openssh+cygwin git而不是Bitvise SSH服务器

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

现在工作正常。

回购是否存在于该路径?@krsteeve回购位于D:\myrepo.git中。可以吗?由于您可以正常登录,请运行
ls-la/D/myrepo.git
检查situation@mnagel我试过了,没有什么问题。
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
git clone user@example.com:/cygdrive/d/myrepo.git