Update .ssh/config to handle GPG agent

This commit is contained in:
Darren 'Tadgy' Austin 2022-09-09 04:42:47 +01:00
commit e5f9c3e33d

View file

@ -12,31 +12,42 @@ StrictHostKeyChecking accept-new
VerifyHostKeyDNS yes VerifyHostKeyDNS yes
VisualHostKey yes VisualHostKey yes
# Temp.
Host zapp
Hostname zapp.opensourcerers.net
Port 9922
ForwardAgent yes
RemoteForward ~/.gnupg/S.gpg-agent ~/.gnupg/S.gpg-agent.extra
# Remote servers. # Remote servers.
Host bender fry leela mirror seedbox Host bender fry leela mirror seedbox
HostName %n.hosts.slackware.network HostName %n.hosts.slackware.network
Port 9922 Port 9922
ForwardAgent yes ForwardAgent yes
RemoteForward ~/.gnupg/S.gpg-agent ~/.gnupg/S.gpg-agent.extra
Host esx0.hosts.slackware.network esx1.hosts.slackware.network Host esx0.hosts.slackware.network esx1.hosts.slackware.network
Port 22 Port 22
ForwardAgent no
Host *.hosts.slackware.network Host *.hosts.slackware.network
Port 9922 Port 9922
ForwardAgent yes ForwardAgent yes
RemoteForward ~/.gnupg/S.gpg-agent ~/.gnupg/S.gpg-agent.extra
# Home stuff. # Home stuff.
Host afterdark.org.uk Host afterdark.org.uk
Port 6722 Port 6722
ForwardAgent yes ForwardAgent yes
RemoteForward ~/.gnupg/S.gpg-agent ~/.gnupg/S.gpg-agent.extra
Host phil lil tommy Host phil lil tommy-wifi
ForwardAgent yes ForwardAgent yes
ForwardX11Trusted yes ForwardX11Trusted yes
RemoteForward ~/.gnupg/S.gpg-agent ~/.gnupg/S.gpg-agent.extra
Host full-* build-* clone-* Host full-* build-* clone-*
ForwardAgent yes ForwardAgent yes
RemoteForward ~/.gnupg/S.gpg-agent ~/.gnupg/S.gpg-agent.extra
User root User root
# GitHub. # GitHub.