aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ssh/config
blob: 69c94b893f536e1562b6a5f333fd17ad9b7323b9 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Read more about SSH config files: https://linux.die.net/man/5/ssh_config

Host *
    StrictHostKeyChecking no
    ServerAliveInterval 300
    ServerAliveCountMax 2

Host heimdall loki
    User pi
    ForwardAgent yes
    StreamLocalBindUnlink yes
    RemoteForward /run/user/1000/gnupg/S.gpg-agent /home/tobyv/.gnupg/S.gpg-agent.extra
    ControlMaster auto
    ControlPath ~/.ssh/controlmasters/%r@%h:%p
    ControlPersist 30m

Host odin thor
    User tobyv
    Port 2222
    ForwardAgent yes
    StreamLocalBindUnlink yes
    RemoteForward /run/user/1000/gnupg/S.gpg-agent /home/tobyv/.gnupg/S.gpg-agent.extra
    ControlMaster auto
    ControlPath ~/.ssh/controlmasters/%r@%h:%p
    ControlPersist 30m

host bifrost
    User tobyv
    ControlMaster auto
    ControlPath ~/.ssh/controlmasters/%r@%h:%p
    ControlPersist 30m

Host aegir
    User root
    HostName foundry.tobyvin.com
    ForwardAgent yes
    StreamLocalBindUnlink yes

Host door
    User tovince
    HostName door.cs.siue.edu
    ForwardAgent yes
    StreamLocalBindUnlink yes
    RemoteForward /run/user/1000/gnupg/S.gpg-agent /home/tobyv/.gnupg/S.gpg-agent.extra
    ControlMaster auto
    ControlPath ~/.ssh/controlmasters/%r@%h:%p
    ControlPersist 30m

Host siue
    User tovince
    HostName home.cs.siue.edu
    ForwardAgent yes
    StreamLocalBindUnlink yes
    RemoteForward /run/user/1400158178/gnupg/S.gpg-agent /home/tobyv/.gnupg/S.gpg-agent.extra
    RemoteCommand rm -f /run/user/1400158178/gnupg/S.gpg-agent && zsh -l
    RequestTTY force

Host zone zone1 zone2
    User tovince
    HostName zone.cs.siue.edu

Host zone1
    SetEnv INSTANCE=1

Host zone2
    SetEnv INSTANCE=2