dotfiles/home/dot-ssh/config
2022-02-03 19:33:04 +01:00

24 lines
No EOL
460 B
Text

Host github.com
User git
ControlMaster auto
ControlPersist 120
Host *
# Always use SSH2.
Protocol 2
# Use a shared channel for all sessions to the same host,
# instead of always opening a new one. This leads to much
# quicker connection times.
ControlMaster auto
ControlPath ~/.cache/ssh/mux_%r@%h:%p
ControlPersist 1h
# Miscellaneous
Compression yes
TCPKeepAlive yes
ServerAliveInterval 20
ServerAliveCountMax 10
Include ~/.ssh/config.d/*