Skip to content

Instantly share code, notes, and snippets.

@coffeesam
Forked from jessearmand/config
Created August 10, 2013 19:51
Show Gist options
  • Save coffeesam/6201890 to your computer and use it in GitHub Desktop.
Save coffeesam/6201890 to your computer and use it in GitHub Desktop.
# SSH Connection pooling for faster additional connections to a machine
ControlMaster auto
ControlPath /tmp/ssh_mux_%h_%p_%r
# This makes subsequent connections go faster
ControlPersist 2h
# Make it so ssh-ing from one server to another passes keys around automagically
Host *
ForwardAgent yes
# Get rid of SSH connection delays
GSSAPIAuthentication no
# Stop timing out connections
ServerAliveInterval 300
ServerAliveCountMax 20
# Use less encryption on servers I cant get to off-network
Host nf* 10.* 172.* 192.168.*
Ciphers blowfish-cbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment