How to click on a hero for a proxy?

I use git for a proxy at my university. When trying to execute

git push heroku master 

I get an error

 ssh: connect to host proxy.heroku.com port 22: Bad file number fatal: The remote end hung up unexpectedly 

I had a similar problem when clicking on git before, but this was resolved using their smart HTTP. From what I have read so far, this is a network problem. How to fix it? Is there a way to click on a hero using HTTP? (I assume that pressing SSH causes this problem and that port 22 is blocked)

+4
source share
2 answers

Heroku only supports git clicks on SSH (port 22) - most likely, your university prevents access to outgoing port 22, which leads to a failure of your push.

+2
source

Corkscrew is an SSH tunneling tool through HTTP proxies

Setting up a corkscrew with SSH / OpenSSH is very simple. Adding the following line to your ~ / .ssh / config file will usually do the trick (replace proxy.example.com and 8080 with the correct values):

 ProxyCommand /usr/local/bin/corkscrew proxy.example.com 8080 %h %p 

Follow http://www.agroman.net/corkscrew/README

+3
source

Source: https://habr.com/ru/post/1400746/


All Articles