Eric Bower
·
2024-08-24
gpg_reset
1#!/usr/bin/env sh
2
3pkill -9 gpg-agent
4export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
5gpgconf --launch gpg-agent
6gpg-connect-agent updatestartuptty /bye
1#!/usr/bin/env sh
2
3pkill -9 gpg-agent
4export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
5gpgconf --launch gpg-agent
6gpg-connect-agent updatestartuptty /bye