我在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]:我猜想它可能不是。 –