0

我在 Bitbucket 上有一个公共存储库,我想将它提交给 Packagist 以供作曲家使用。但是,输入 git url 并提交后,出现错误:

Uncaught Exception: [RuntimeException] Failed to execute git clone --mirror 'git@bitbucket.org: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

我该如何解决这个问题?问候。

4

1 回答 1

1

看起来 ssh 密钥已更改。尝试删除您的~/.ssh/known_hosts文件(或带有 bitbucket 主机/ip 的行)

于 2014-12-08T13:15:27.297 回答