I'm trying to connect to a GitLab instance with non-standard port from Mac. I've studied .ssh/config documentation and tried different options and I think my configuration is ok, but ssh still uses port 22.
ssh -vv gitlab.braemer.myds.me
OpenSSH_7.9p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/andrey/.ssh/config
debug1: /Users/andrey/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: Connecting to gitlab.braemer.myds.me port 22.
ssh: connect to host gitlab.braemer.myds.me port 22: Connection refused
And the config is here:
cat ~/.ssh/config
Host *
Port 22
Host github.com-irondad
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_2
IdentitiesOnly yes
Host gitlab.braemer
HostName gitlab.braemer.myds.me
User git
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
Port 87111
Any ideas what is wrong?