Created
July 11, 2012 16:43
-
-
Save rawsyntax/3091626 to your computer and use it in GitHub Desktop.
faster ssh
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
Host * | |
# don't try to authenticate with Kerberos | |
GSSAPIAuthentication no | |
GSSAPIKeyExchange no | |
# persist the ssh connection for 5 minutes | |
# subsequent ssh connections respond faster because its reusing an existing connection | |
ControlMaster auto | |
ControlPath ~/.ssh/master-%r@%h:%p | |
ControlPersist 5m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment