2014-12-08 44 views
0

我在Bitbucket上有一個公共存儲庫,我想將它提交給Packagist作爲作曲家用途。但是,輸入git url並提交後,錯誤顯示:Packagist上的Bitbucket主機密鑰驗證問題

Uncaught Exception: [RuntimeException] Failed to execute git clone --mirror '[email protected]:xxx/xxx.git' '/home/composer/.composer/cache/vcs/git-bitbucket.org-xxx-xxx.git/' Host key verification failed. fatal: The remote end hung up unexpectedly 

我該如何解決這個問題?問候。

回答

1

看起來像ssh密鑰已更改。嘗試刪除你~/.ssh/known_hosts文件(或帶有bitbucket主機/ IP的行)

+0

目前,我的「〜/ .ssh/known_hosts」文件中沒有Bitbucket相關的IP。但是,我在Packagist網站上,我的known_hosts文件如何影響packagist ssh連接?我在提交軟件包的git url後,收到Packagist網站上的錯誤消息。 – 2014-12-08 19:16:51

+0

另外,這裏是Packagist上的錯誤截圖:http://i.hizliresim.com/z2E9Vg.png – 2014-12-08 19:24:23

相關問題