首先,我创建使用Git的推Heroku的
ssh-keygen -t rsa -C "[email protected]"
然后,我通过heroku keys:add
添加生成的关键的Heroku新的密钥。 之后,我尝试使用git push heroku master
将我的git存储库推送到heroku。
,我已经使用这些命令的ConfigEd我的git仓库前:git init
,git add .
,git commit
,heroku create
,git remote add heroku [email protected]:sth.git
。
但是,我得到了这个错误Host key verification failed
。
我正在运行的Ubuntu 11.10版本。这很奇怪。
git remote -v输出是什么? – ngm 2012-04-18 19:18:51
github上\t [email protected]:crowdvn/CrowdVN.git(取) github上\t [email protected]:crowdvn/CrowdVN.git(推) 的Heroku \t [email protected]:成长雪7014.git (抓取) heroku \t [email protected]:grow-snow-7014.git(push) – v4r 2012-04-19 08:20:49
什么是ssh -vvv [email protected]输出?这可能会提供有关错误发生位置的更多信息。 – ngm 2012-04-19 08:27:20