Skip to content

Instantly share code, notes, and snippets.

@filippo
Forked from rasky/.config
Last active December 7, 2017 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save filippo/1a1fe81bfefee8eeb044 to your computer and use it in GitHub Desktop.
Save filippo/1a1fe81bfefee8eeb044 to your computer and use it in GitHub Desktop.
SSH persistent connections
# this re-enables ssh-dss on Fedora 23... until I change all the keys
PubkeyAcceptedKeyTypes +ssh-dss
#add to .ssh/config
Host *
ControlPersist yes
ControlMaster auto
ControlPath /tmp/ssh-%r@%h:%p
ServerAliveInterval 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment