summaryrefslogtreecommitdiffstatshomepage
path: root/ssh/.ssh/config
blob: 2d1f0e8cf63aeae4d70811e5651578a45053a88c (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
# Read more about SSH config files: https://linux.die.net/man/5/ssh_config

IdentityFile ~/.ssh/11404962_id_ed25519_sk
IdentityFile ~/.ssh/13456729_id_ed25519_sk

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

Host *
    StrictHostKeyChecking no
    ServerAliveInterval 300
    ServerAliveCountMax 2

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

Host hydra
    User tobyv
    HostName iris.tayoby.com
    port 8795