Kill remote gpg-agent when forwarding local one
This commit is contained in:
parent
11198cb480
commit
78deede3be
|
@ -3,5 +3,6 @@ if [[ -z $SSH_CONNECTION ]] && [[ $HOSTNAME != "toolbox" ]]; then
|
|||
gpgconf --launch gpg-agent
|
||||
gpg-connect-agent updatestartuptty /bye &> /dev/null
|
||||
else
|
||||
gpgconf --kill all
|
||||
gpg-connect-agent reloadagent /bye &> /dev/null
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue