Skip to content

Instantly share code, notes, and snippets.

@rawsyntax
Created July 11, 2012 16:43
Show Gist options
  • Save rawsyntax/3091626 to your computer and use it in GitHub Desktop.
Save rawsyntax/3091626 to your computer and use it in GitHub Desktop.
faster ssh
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