dotfiles/.ssh/config

44 lines
914 B
Text

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