Created
May 23, 2020 17:09
-
-
Save shapr/2c37de888eecb2b99bc2522e9feddd36 to your computer and use it in GitHub Desktop.
improve your ssh usage! add these wizardly tricks! add this to ~/.ssh/config !
This file contains hidden or 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 * | |
| ServerAliveInterval 15 | |
| ServerAliveCountMax 3 | |
| ControlMaster auto | |
| ControlPath ~/.ssh/ssh-%h-%p-%r | |
| ConnectionAttempts 2 | |
| ForwardAgent yes | |
| ControlPersist 2m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment