dotfiles/.ssh/config

53 lines
1.2 KiB
Text

# General settings.
AddKeysToAgent yes
ConnectTimeout 30
# Removed as this prevents use of ^Z suspension.
# ControlMaster auto
# ControlPath ${HOME}/.ssh/%u@%l->%r@%h:%p
# ControlPersist 7200
ExitOnForwardFailure yes
HashKnownHosts no
SendEnv LANG LC_* TERM
StrictHostKeyChecking accept-new
VerifyHostKeyDNS yes
VisualHostKey yes
# Temp.
Host zapp
Hostname zapp.opensourcerers.net
Port 9922
ForwardAgent yes
RemoteForward %d/.gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
# Remote servers.
Host bender fry leela mirror seedbox
HostName %h.hosts.slackware.network
Port 9922
ForwardAgent yes
RemoteForward %d/.gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
Host esx0.hosts.slackware.network esx1.hosts.slackware.network
Port 22
Host *.hosts.slackware.network
Port 9922
ForwardAgent yes
RemoteForward %d/.gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
# Home stuff.
Host afterdark.org.uk
Port 6722
ForwardAgent yes
Host phil lil tommy-wifi
ForwardAgent yes
ForwardX11Trusted yes
Host full-* build-* clone-*
ForwardAgent yes
RemoteForward /run/user/0/gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
User root
# GitHub.
Host github.com
IdentityFile ${HOME}/.ssh/id_ed25519_github