summaryrefslogtreecommitdiff
path: root/.ssh/home
blob: 25dc81a2c4819bfb3bc86b031c1a82e7b506186f (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# vim:set ft=sshconfig:

VerifyHostKeyDNS yes
ServerAliveInterval 60
GSSAPIAuthentication no
User mcrute
#IdentityAgent none
#IdentityFile ~/.ssh/id_ed25519.home

Host home.crute.me
    Hostname mcrute-virt.sea1.crute.me
    ProxyCommand ssh -F ~/.ssh/home -p 4321 -W %h:%p gateway-1.us-west-2.crute.me

Host via-eu.home.crute.me
    Hostname mcrute-virt.sea1.crute.me
    ProxyCommand ssh -F ~/.ssh/home -p 4321 -W %h:%p gateway-1.eu-west-2.crute.me

Host eu.home.crute.me
    Hostname mcrute-virt.eu-west-2.crute.me
    ProxyCommand ssh -F ~/.ssh/home -p 4321 -W %h:%p gateway-1.eu-west-2.crute.me

Host eu-tun.home.crute.me
    Hostname mcrute-virt.eu-west-2.crute.me
    RequestTTY no
    ForwardX11 no
    GatewayPorts yes
    Compression yes
    DynamicForward 9999
    RemoteForward *:1235 localhost:1235
    RemoteForward *:1425 localhost:1425
    ProxyCommand ssh -F ~/.ssh/home -p 4321 -W %h:%p gateway-1.eu-west-2.crute.me

Host tun.home.crute.me
    Hostname mcrute-virt.sea1.crute.me
    RequestTTY no
    ForwardX11 no
    GatewayPorts yes
    Compression yes
    DynamicForward 9999
    RemoteForward *:1235 localhost:1235
    RemoteForward *:1425 localhost:1425
    ProxyCommand ssh -F ~/.ssh/home -p 4321 -W %h:%p gateway-1.us-west-2.crute.me

Host *.crute.me !gateway-1.*.crute.me !*.home.crute.me
    ProxyCommand nc -x localhost:9999 %h %p