Created
August 8, 2014 17:06
-
-
Save snowdream/5c074ee18e6066f52622 to your computer and use it in GitHub Desktop.
Enabling SSH connections over HTTPS
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
If you are able to SSH into `[email protected]` over port 443, you can override your SSH settings to force any connection to github.com to run though that server and port. | |
To set this in your ssh config, edit the file at `~/.ssh/config`, and add this section: | |
Host github.com | |
Hostname ssh.github.com | |
Port 443 | |
You can test that this works by connecting once more to github.com: | |
ssh -T [email protected] | |
# Hi username! You've successfully authenticated, but GitHub does not | |
# provide shell access. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment