I using Starbucks wifi and I get the following when trying to push to a gitlab.com repo:
$ git push origin master
ssh: connect to host gitlab.com port 22: Connection refused
fatal: Could not read from remote repository.
I tried adapting a workaround for GitHub: Github (SSH) via public WIFI, port 22 blocked by adding the following to ~/.ssh/config
Host gitlab.com
Hostname gitlab.com
Port 443
But that doesn't work as I get this error:
$ git push origin master
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I there a workaround that will allow me to push to GitLab.com using port 443?