我在存储服务器上运行了一个 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
?