Created
November 20, 2018 14:18
-
-
Save codeShaurya/7d750e9654f987113c43553d50d855f9 to your computer and use it in GitHub Desktop.
This gist will help you to redirect your ssh protocol to http whenever 22 port is blocked
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is for gitlab ssh authentication | |
Host gitlab.com | |
Hostname altssh.gitlab.com | |
User git | |
Port 443 | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/gitlab | |
# This is for github ssh authentication | |
Host github.com | |
Hostname ssh.github.com | |
User git | |
Port 443 | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/gitlab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment