Possible Duplicate:
How to push to heroku behind a proxy?git push heroku高手。錯誤behid代理
我有我的Win7背後的代理與Ubuntu的Oracle VM。我使用git。我嘗試在Heroku的部署,但成爲錯誤:
$ git push heroku master
ssh: connect to host heroku.com port 22: Connection timed
out fatal: The remote end hung up unexpectedly
export http_proxy=http://proxyuser:[email protected]:port
有助於爲$ git clone
。 但不適用於git push
。
我曾嘗試:
ssh-keygen -t rsa heroku
keys:add
它並沒有幫助。
我無法更新git_config
或heroku_config
- 權限被拒絕!
請幫忙!謝謝!
做得好設置環境變量。這將對HTTP遙控器的推拉起作用,但它不適用於Heroku等ssh遙控器。如果Heroku像GitHub那樣通過HTTPS暴露存儲庫,將會有所幫助。 –