Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. unset SSH_AGENT_PID
  2. if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
  3. export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
  4. fi
  5.  
  6. export GPG_TTY=$(tty)
  7. gpg-connect-agent updatestartuptty /bye >/dev/null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement