1
0
nixfiles/pkgs/ssh-gpg/ssh-gpg.sh

7 lines
113 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
export SSH_AUTH_SOCK
exec ssh "$@"