dotfiles/.ssh/config

78 lines
1.9 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
ForwardAgent yes
HashKnownHosts no
SendEnv LANG LC_* TERM
StrictHostKeyChecking accept-new
VerifyHostKeyDNS yes
VisualHostKey yes
# Only forward the gpg-agent socket if it exists on the local host.
Match exec "[[ -e ${HOME}/.gnupg/S.gpg-agent ]]" host !*.coventry,!*.appliansys.com,!*.appliansys.net
RemoteForward %d/.gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
# Home stuff.
Host afterdark.org.uk
Port 6722
Host chuckie lil phil tommy-wifi
ForwardX11Trusted yes
Host nas0 nas1 nas backupnas
ForwardAgent no
ClearAllForwardings yes
Host esx0 esx1 esx2 esx3 gw vcsa
User root
PubKeyAuthentication no
ForwardAgent no
ClearAllForwardings yes
Host rpi0 rpi1 rpi2
User pi
ForwardAgent no
ClearAllForwardings yes
Host build-*
User root
Host clone-* full-*
User root
ClearAllForwardings yes
# Remote servers.
Host amy amy.hosts.slackware.network bender bender.hosts.slackware.network fry fry.hosts.slackware.network leela leela.hosts.slackware.network mirror mirror.hosts.slackware.network seedbox seedbox.hosts.slackware.network
CanonicalDomains hosts.slackware.network
CanonicalizeHostname yes
Port 9922
Host as.hosts.slackware.network
Port 9922
User root
ForwardAgent no
ClearAllForwardings yes
Host esx0.hosts.slackware.network esx1.hosts.slackware.network
User root
ForwardAgent no
ClearAllForwardings yes
# Git services.
Host github.com git.rlworkman.net
User git
ClearAllForwardings yes
# Temp.
Host zapp zapp.opensourcerers.net
Hostname zapp.opensourcerers.net
Port 9922
Host esx.support.coventry vidar.coventry
User root
HostKeyAlgorithms ssh-rsa