Add GPG agent configuration

This change forces the SSH agent to use the GPG agent for the
authorization keys. This is used in order to use a smartcard as the
identity for SSH authentication.
master
nirenjan 2018-09-27 13:58:45 -07:00
parent 09b20d3a0a
commit 46214fd02f
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
gpgconf --launch gpg-agent
export SSH_AUTH_SOCK="$HOME/.gnupg/S.gpg-agent.ssh"