【发布时间】:2017-05-24 15:41:16
【问题描述】:
我有两个项目,其中一个使用另一个作为子模块。经过多次尝试和失败后,我最终考虑将远程子模块移动到与新项目相同的 heroku 帐户,认为我可以取消用户授权。
但是授权还是不行:
remote: Git submodules detected, installing:
remote: Submodule 'foo' (ssh://git@heroku.com/foo.git) registered for path 'foo'
remote: Cloning into 'foo'...
remote: Host key verification failed.
remote: fatal: Could not read from remote repository.
remote:
remote: Please make sure you have the correct access rights
remote: and the repository exists.
我应该给 Heroku 什么样的设置?设置 heroku ssh 密钥似乎不起作用,或者我做错了什么:ssh -vvv heroku.com 似乎返回访问权限。
【问题讨论】: