Created
November 11, 2016 17:02
-
-
Save peterpme/143d4ee36b2f4ece1b9e45243935ae03 to your computer and use it in GitHub Desktop.
SSH Config Taken From Paul Irish. Thanks Paul!
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
# symlink to ~/.ssh/config | |
Host github.com | |
ControlMaster auto | |
ControlPersist 120 | |
Host * | |
# Always use SSH2. | |
Protocol 2 | |
# Use a shared channel for all sessions to the same host, | |
# instead of always opening a new one. This leads to much | |
# quicker connection times. | |
ControlMaster auto | |
ControlPath ~/.ssh/control/%r@%h:%p | |
ControlPersist 1800 | |
# also this stuff | |
Compression yes | |
TCPKeepAlive yes | |
ServerAliveInterval 20 | |
ServerAliveCountMax 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment