1
例子:無法通過SSH克隆/推
$ git clone [email protected]:carlos/test.git
Cloning into 'asd'...
ssh: connect to host gitlab port 22: No route to host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我加入了IP和名稱到我的主機,但即使我直接使用IP,發生錯誤。 我可以使用root通過SSH登錄,它只是不適用於git用戶。
我不知道這裏發生了什麼。
謝謝
也許某種過濾器,例如http://askubuntu.com/a/136414/5470和http://superuser.com/q/423852/141? – VonC
嘗試[git URL部分](https://www.kernel.org/pub/software/scm/git/docs/git-clone.html) –
我認爲問題不在於此。我無法通過SSH克隆,但我可以通過SSH登錄(使用其他用戶)。我遵循gitlab instalation教程,並且看不到有什麼問題...... – caarlos0