我在Github上添加了一个SSH密钥来提交我的代码。一切都很完美。然后我试图承诺的Heroku让我的应用程序使用活以下步骤:git push heroku master - 失败
[omrails]$heroku keys:add
# Found the following SSH public keys:
# 1) github_rsa.pub 2) id_rsa.pub
# Which would you like to use with your Heroku account? 2
# Uploading SSH public key /Users/jackburum/.ssh/id_rsa.pub... done
[omrails]$heroku create
# Creating calm-earth-1147... done, stack is cedar
# http://calm-earth-1147.herokuapp.com/ |
# [email protected]:calm-earth-1147.git
[omrails]$git push heroku master
# ! Your key with fingerprint *************** is not authorized to access omrails.
# fatal: The remote end hung up unexpectedly
然后我试图清除Heroku的按键(按键的Heroku:CLEAR),然后再加入键......无济于事。我还在Github中更改了我的SSH密钥,以查看是否有问题。我能做些什么不同?
将通过http://计算器。 com/a/9149518/6309有帮助吗? – VonC
检查'git remote -v'的输出 - 检查'heroku'的来源是否指向[email protected]:我猜想它可能不是。 –