Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye" Host *iso.local Port 22 StrictHostKeyChecking no UserKnownHostsFile /dev/null Host *.local User a14m Port 39901 ForwardAgent yes StreamLocalBindUnlink yes RemoteForward /run/user/1000/gnupg/S.gpg-agent %d/.gnupg/S.gpg-agent # ssh -v kex: algorithm: sntrup761x25519-sha512@openssh.com # 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,curve25519-sha256@libssh.org # Force the use of IPV4 for github and sr.ht # Since both don't work reliably on IPV6 (inet6) AddressFamily inet Host * ServerAliveInterval 300