Last active
September 12, 2017 12:21
-
-
Save camelpunch/e7f5b842ccdeef8204f8f732d04a899a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
gpg --card-status > /dev/null | |
killall ssh-agent gpg-agent | |
unset GPG_AGENT_INFO SSH_AGENT_PID SSH_AUTH_SOCK | |
gpg-agent --daemon --enable-ssh-support |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment