Note that there are some explanatory texts on larger screens.

plurals
  1. POError in git push heroku master through ssh behind proxy
    primarykey
    data
    text
    <p><strong>Brief Context:</strong><br> Hi, I am a university student (behind proxy 10.3.100.211:8080), new to ROR, Git &amp; Heroku and have been following Ruby on Rails tutorial. I solved the problem of pushing git repo through ssh using following config in my ~/.ssh/config file (and it worked perfectly after that): </p> <pre><code>Host github.com Hostname ssh.github.com User git ProxyCommand corkscrew 10.3.100.211 8080 %h %p Port 443 </code></pre> <p><strong>Problem:</strong> </p> <p>However, on following <a href="https://devcenter.heroku.com/articles/git" rel="noreferrer">https://devcenter.heroku.com/articles/git</a> to use heroku for online app deployment, I am getting following error: </p> <pre><code>$git push heroku master ssh: connect to host heroku.com port 22: Connection refused fatal: The remote end hung up unexpectedly </code></pre> <p>My current status is: $ git remote -v </p> <pre><code>heroku git@heroku.com:deep-dusk-1030.git (fetch) heroku git@heroku.com:deep-dusk-1030.git (push) origin git@github.com:shaileshgupta/testapp.git (fetch) origin git@github.com:shaileshgupta/testapp.git (push) </code></pre> <p>Can anyone help me with github.com like settings for heroku.com to be written in my ~/.ssh/config file for seamless connection through ssh behind proxy using PORT 443/22.</p> <p>Any help will be highly appreciated.</p> <p><strong>Update (Some More Information)</strong> I tried following settings and got following errors:</p> <p>Configuration:</p> <pre><code>Host heroku.com Hostname ssh.heroku.com User git ProxyCommand corkscrew 10.3.100.211 8080 %h %p Port 443 </code></pre> <p>Error:</p> <pre><code>$ git push heroku master ssh_exchange_identification: Connection closed by remote host fatal: The remote end hung up unexpectedly </code></pre> <p>Another Configuration:</p> <pre><code>Host github.com, heroku.com Hostname ssh.github.com User git ProxyCommand corkscrew 10.3.100.211 8080 %h %p Port 443 </code></pre> <p>Error:</p> <pre><code>$ git push heroku master ERROR: Repository not found. fatal: The remote end hung up unexpectedly </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload