Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created February 15, 2018 14:05
Show Gist options
  • Save cleverca22/81767a652c116a9176197a458f8c438f to your computer and use it in GitHub Desktop.
Save cleverca22/81767a652c116a9176197a458f8c438f to your computer and use it in GitHub Desktop.
gpg-connect-agent /bye
GPG_TTY=$(tty)
export GPG_TTY
unset SSH_AGENT_PID
# export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"
export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment