summaryrefslogtreecommitdiff
path: root/misc/dotfiles/ssh/config.j2
blob: 0872a402cc16137e8064c05eaaf1e1db53e7ccb3 (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
Host *
{% if ansible_facts['os_family'] == "Darwin" %}
    # macOS specific settings.
    UseKeychain yes
    AddKeysToAgent yes
{% endif %}

Host gate
    Hostname gate.ilvokhin.com
    ForwardAgent yes

Host sun
    Hostname sun.ilvokhin.com

Host mail
    Hostname mail.ilvokhin.com

# Moscow machines behind NAT.
Host water
    ProxyJump gate
    Hostname 10.9.8.2
    ForwardAgent yes

Host flame
    ProxyJump gate
    Hostname 10.9.9.2
    ForwardAgent yes