Gitlab Custom Port

Try this:

$ vim ~/.ssh/config

Add

Host yourselfhostedgitlab.com
    Hostname yourselfhostedgitlab.com
    Port 443

http://stackoverflow.com/questions/7953806/github-ssh-via-public-wifi-port-22-blocked

OR this

Edit file: ~/.ssh/config

Host gitlab.com
    Hostname altssh.gitlab.com
    User git
    Port 443
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/gitlab

https://about.gitlab.com/2016/02/18/gitlab-dot-com-now-supports-an-alternate-git-plus-ssh-port/

Advertisements