Skip to content

Instantly share code, notes, and snippets.

@LordAmit
Created December 22, 2016 14:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LordAmit/cf154ee97211cd5a1bf15986ebcfed48 to your computer and use it in GitHub Desktop.
Save LordAmit/cf154ee97211cd5a1bf15986ebcfed48 to your computer and use it in GitHub Desktop.
.ssh/config for alternative connection to github and gitlab, in case port 22 is blocked
Host gitlab.com
Hostname altssh.gitlab.com
User git
Port 443
PreferredAuthentications publickey
Host github.com
Hostname ssh.github.com
User git
Port 443
PreferredAuthentications publickey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment