Created
November 4, 2013 20:54
-
-
Save krasnoukhov/7309057 to your computer and use it in GitHub Desktop.
Proper ssh config
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
# 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 | |
ConnectTimeout 60 | |
ControlMaster auto | |
ControlPath /tmp/%r@%h:%p | |
ControlPersist yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment