Skip to content

Instantly share code, notes, and snippets.

@shapr
Created May 23, 2020 17:09
Show Gist options
  • Select an option

  • Save shapr/2c37de888eecb2b99bc2522e9feddd36 to your computer and use it in GitHub Desktop.

Select an option

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 !
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