aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ssh/.ssh/config
blob: b9ef7b39ca8362e508534456339da9c09a345669 (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
StrictHostKeyChecking accept-new
CanonicalizeHostname yes
CanonicalDomains asgard.tobyvin.dev
ControlPath ${XDG_RUNTIME_DIR}/ssh.%C
ServerAliveInterval 300
ServerAliveCountMax 2
IdentityFile ~/.ssh/id_ed25519_sk_rk

Host *.asgard.tobyvin.dev
    StreamLocalBindUnlink yes
    Tag gpg
    RemoteForward /run/user/1000/xdg-open.socket ${XDG_RUNTIME_DIR}/xdg-open.socket
    RemoteForward /run/user/1000/discord-ipc-0 ${XDG_RUNTIME_DIR}/discord-ipc-0

Host *.tayoby.com
    Tag gpg

Host *.vincentlanding.org
    Tag gpg

Host archiso
    User root
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null

Host aur.archlinux.org
    User aur

Match tagged gpg
    RemoteForward /run/user/1000/gnupg/S.gpg-agent ${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.extra
    RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh ${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh