【发布时间】:2013-09-23 06:13:17
【问题描述】:
我在存储服务器上运行了一个 git 存储库。通过http 克隆存储库工作正常
git clone http://user@server:7990/a/b/sandbox.git
出于某种奇怪的原因,当我将http 与ssh 切换并使用它的端口时,它给了我
git clone ssh://user@server:7999/a/b/sandbox.git
Cloning into sandbox...
fatal: remote error: Remote URL invalid
A repository could not be determined from the remote URL. Please confirm the
clone URL in Stash and try again. URL suffix: '/scm/ct/sandbox.git'
fatal: The remote end hung up unexpectedly
服务器启用了ssh,并将端口设置为7999。为什么通过ssh而不是http发送请求时找不到存储库?
【问题讨论】:
标签: git ssh bitbucket-server