summaryrefslogtreecommitdiffstats
path: root/.ssh/config
blob: aeef37503dc797f33e7c709c10a03b19bfaf1238 (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
28
29
30
31
32
Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"

Host *iso.local
  Port 22
  StrictHostKeyChecking no
  UserKnownHostsFile /dev/null

Host *.home.arpa
  user root
  Port 39901
  StrictHostKeyChecking accept-new

Host *.local
  User a14m
  Port 39901
  StrictHostKeyChecking accept-new
  ForwardAgent yes
  StreamLocalBindUnlink yes
  RemoteForward /run/user/1000/gnupg/S.gpg-agent %d/.gnupg/S.gpg-agent

# ssh -v kex: algorithm: [email protected]
# post-quantum algorithm hangs and fails to exchange keys on ubuntu.
# this falls back to the elliptic curve 25519 algorithm.
# FIXME: remove this once debian works
Host git.sr.ht github.com
  KexAlgorithms curve25519-sha256,[email protected]
  # Force the use of IPV4 for github and sr.ht
  # Since both don't work reliably on IPV6 (inet6)
  AddressFamily inet

Host *
  ServerAliveInterval 300