I am unable to use the default port 22 and so have run into difficulties setting up git and heroku according to the hartl rails tutorial.
I was able to push to git by including the following in the ~/.ssh/config file:
Host github.com
User git
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443
However, a similar entry does not work for heroku:
Host heroku.com
User git
Hostname ssh.heroku.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443
It seems to hang at this debug line:
debug1: identity file /c/Users/[my folder name]/.ssh/id_rsa type 1
...before failing with this message:
ssh_exchange_identification: Connection closed by remote host.
I had hopes for this answer, Error in git push heroku master through ssh behind proxy it doesn't work for me either...
Any advice would be welcome.