code / dots / sshrc

1# ~/.ssh/config
2
3Include machines
4
5# defaults
6Host *
7  CanonicalizeHostname yes
8  ForwardAgent yes
9  ExitOnForwardFailure yes
10  AddKeysToAgent yes
11  ControlMaster auto
12  ControlPath ~/.ssh/master-%r@%h:%p
13  ControlPersist 10m
14  ServerAliveInterval 10
15  ServerAliveCountMax 10
16  IdentitiesOnly yes
17  PubKeyAuthentication yes