首先,我創建使用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