dotfiles/.ssh/config

71 lines
1.6 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
RemoteForward %d/.gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
SendEnv LANG LC_* TERM
StrictHostKeyChecking accept-new
VerifyHostKeyDNS yes
VisualHostKey yes
# Temp.
Host zapp zapp.opensourcerers.net
Hostname zapp.opensourcerers.net
Port 9922
# 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
# 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
# Git services.
Host github.com git.rlworkman.net
User git
ClearAllForwardings yes