2014-04-28 97 views
1

我在項目中使用git子模塊。 當我嘗試更新項目時,在等待數據時看到'java.io.IOException:Timeout'。在jelastic中使用git submodules

在git的日誌有

04/28/14. 4:36:38.315904463spawn /usr/bin/git submodule update --init --recursive 
Initialized empty Git repository in /var/www/webroot/ROOT-476/protected/modules/present/models/.git/ 
The authenticity of host 'bitbucket.org (131.103.20.167)' can't be established. 
RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40. 
Are you sure you want to continue connecting (yes/no)? 

我需要做什麼來解決這個問題?

回答

0

嘗試ssh -Tvvv [email protected]在命令行,並回答yes來詢問主持人「bitbucket.org

的真實性然後你就可以再次更新項目的問題。

它掛起,因爲它正在等待標準輸入。

,因爲它是Jelastic雲,你將需要請求SSH訪問(見Jelastic SSH Access),例如:

ssh [email protected] -p 3022 

在那次會議上,你將能夠升級主機的指紋檔案,以記錄bitbucket在裏面。

+0

我知道,但是在jelastic apache節點中沒有命令行! – verybadbug

+0

@verybadbug您無權訪問該進程運行的計算機上的命令行? – VonC

+0

這就是雲。我可以添加終端節點,但它的虛擬分隔符來自apache節點(放置回購站點)。配置(包括更新git回購)是通過Web界面。 – verybadbug