我正在嘗試創建一個gerrit審查系統,並且能夠成功獲取gerrit在端口8084上運行並且正在29429端口上進行審查。Gerrit無法克隆
當我試圖運行git clone ssh://[email protected]:29429/myrepo.git
我收到以下錯誤:
Cloning into 'myrepo'...
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 1024 a1:bc:b8:fe:e7:79:c9:34:96:28:7d:6f:d3:3d:af:9b
Connection abandoned.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
當我運行ssh -p 29429 [email protected] gerrit ls-project
小號 它要求我輸入我的密碼。當我輸入密碼 我能夠看到myrepo
以下也精美(確保用戶與格里特OK)
$ ssh -p 29429 [email protected]
Enter passphrase:
輸入密碼,我得到以下
後** Welcome to Gerrit Code Review **
Hi user, you have successfully connected over SSH.
Unfortunately, interactive shells are disabled. To clone a hosted Git repository, use:
git clone ssh://[email protected]:29429/REPOSITORY_NAME.git
Connection to ip closed.
請幫助哪裏出錯。我做錯了什麼或錯過了什麼。
** * **發現的解決方案* ** * *** 見下 ** * ** * *
嗨,大家好,這個問題解決了。 – Ramki