Limit gpg-agent forwarding. Add work hosts that need specific settings.
This commit is contained in:
parent
900cda86c1
commit
854bee3405
1 changed files with 5 additions and 1 deletions
|
@ -14,7 +14,7 @@ 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 ]]"
|
||||
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.
|
||||
|
@ -72,3 +72,7 @@ Host github.com git.rlworkman.net
|
|||
Host zapp zapp.opensourcerers.net
|
||||
Hostname zapp.opensourcerers.net
|
||||
Port 9922
|
||||
|
||||
Host esx.support.coventry vidar.coventry
|
||||
User root
|
||||
HostKeyAlgorithms ssh-rsa
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue