1

我在项目中使用 git 子模块。当我尝试更新项目时,我看到“java.io.IOException: Timeout while waiting for data.”。

在 git log 中有

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)? 

我需要做什么来解决问题?

4

1 回答 1

0

尝试ssh -Tvvv git@bitbucket.org在命令行中,并回答yes有关主机' bitbucket.org'真实性的问题

然后您可以再次更新您的项目。

它挂起是因为它正在 stdin 上等待条目。

由于它是 Jelastic 云,您需要请求 ssh 访问(请参阅Jelastic SSH 访问),例如:

ssh 4856@gate.j.layershift.co.uk -p 3022

在该会话中,您将能够更新主机指纹文件,以便在其中记录 bitbucket。

于 2014-04-28T05:33:53.977 回答