我有一個私人回購,我試圖部署到Heroku時訪問。然而,Heroku的不讓我克隆私人回購協議,並給我下面的錯誤(如我所期望的):如何從heroku訪問私人github回購?
Host key verification failed.
fatal: The remote end hung up unexpectedly
Git error: command `git clone
'[email protected]:pr/lm-models.git'
"/tmp/build_3r0z0znww0zda/vendor/bundle/ruby/1.9.1/cache/bundler/git/lm-models-aab025aaadbe07202b16e1db7505ae1726f8723a"
--bare --no-hardlinks` in directory /tmp/build_3r0z0znww0zda has failed.
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
我發現這一點,但不希望以顯示清楚我的用戶名/密碼文本:
Linking heroku app to a private(organization) github repo
您能得到什麼,如果你做的Heroku'login'?你能夠成功登錄嗎? – fmendez
促使我登錄,並在登錄後,我再次嘗試推送(但它失敗) – Kamilski81
可能重複[在Heroku上安裝私人ssh部署密鑰](http://stackoverflow.com/questions/25961970/installing-private-ssh -deploy純鍵上的Heroku) – Aidan