summaryrefslogtreecommitdiffstatshomepage
path: root/private_dot_ssh/config.tmpl
blob: b6dce43b17cd630e12931619d52220325a26e0fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{ if eq (default "host" (index . "machineRole")) "canonical" }}
Include config.local
Host *
  HashKnownHosts yes
  ForwardAgent no
  ServerAliveInterval 120
{{ else }}
# Ensure KnownHosts are unreadable if leaked
HashKnownHosts yes

Compression no
ControlMaster auto
ControlPersist 10
AddressFamily inet
ServerAliveInterval 120
IdentitiesOnly yes

Host git.sommerfeld.dev
  Hostname mandibles.wg

Include work.config

Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"

Match host *.wg,*.pulpo
  IdentityFile ~/.ssh/nym.pub
{{ end }}