Limit gpg-agent forwarding. Add work hosts that need specific settings.
This commit is contained in:
parent
ce8ffa0900
commit
9a225e0435
1 changed files with 5 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ VerifyHostKeyDNS yes
|
||||||
VisualHostKey yes
|
VisualHostKey yes
|
||||||
|
|
||||||
# Only forward the gpg-agent socket if it exists on the local host.
|
# 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
|
RemoteForward %d/.gnupg/S.gpg-agent ${HOME}/.gnupg/S.gpg-agent
|
||||||
|
|
||||||
# Home stuff.
|
# Home stuff.
|
||||||
|
|
@ -72,3 +72,7 @@ Host github.com git.rlworkman.net
|
||||||
Host zapp zapp.opensourcerers.net
|
Host zapp zapp.opensourcerers.net
|
||||||
Hostname zapp.opensourcerers.net
|
Hostname zapp.opensourcerers.net
|
||||||
Port 9922
|
Port 9922
|
||||||
|
|
||||||
|
Host esx.support.coventry vidar.coventry
|
||||||
|
User root
|
||||||
|
HostKeyAlgorithms ssh-rsa
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue