Skip to content
Discussion options

You must be logged in to vote

You are already using SSH, which usually uses TCP port 22. Networks that do weird blocks usually still allow TCP port 443, which is the default port for HTTPS. Because of that GitHub offers an SSH server that listens on ssh.github.com TCP port 443, which gets around simple port blocks (a more sophisticated block might notice the protocol is SSH, not TLS). 😉

See Use SSH over HTTPS port in the documentation. Though I'd suggest using url.<base>.insteadOf setting instead of overriding the connection for github.com in ~/.ssh/config (that's what the documentation describes), like so:

git config --global "url.ssh://git@ssh.github.com:443/.insteadOf" git@github.com:

The resulting entry in your ~…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@acharyarupak391
Comment options

@airtower-luna
Comment options

Answer selected by acharyarupak391
@acharyarupak391
Comment options

@airtower-luna
Comment options

@kyuuube
Comment options

@remcovdsteen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage General General topics and discussions that don't fit into other categories, but are related to GitHub
5 participants