Brief Context:
Hi, I am a university student (behind proxy 10.3.100.211:8080), new to ROR, Git & Heroku and have been following Ruby on Rails tutori
In your .ssh/config write this :
Host git_heroku
Hostname heroku.com
User git
ProxyCommand corkscrew 10.3.100.211 8080 %h %p
Port 443
and in your .git/config change
git@heroku.com
to
git_heroku
The full line for a remote will look something like:
[remote "appname"]
url = git_heroku:appname.git
fetch = +refs/heads/*:refs/remotes/appname/*
git_heroku
is an alias; you need to change your git config to use that alias.
In addition to answer above in your .ssh/config:
ssh.heroku.com
for Hostname
instead of heroku.com
IdentityFile "path to identity file"
Port
So my .ssh/config file looks something like this:
Host git_heroku
ProxyCommand corkscrew proxy.usurt.ru 3128 %h %p
HostName ssh.heroku.com
User git
IdentityFile "~/.ssh/id_rsa.pub"
And appropriate lines in .git/config file:
[remote "heroku"]
url = git_heroku:still-taiga-2820.git
fetch = +refs/heads/*:refs/remotes/heroku/*