diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ssh-with-gpg | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/ssh-with-gpg b/bin/ssh-with-gpg index 072930a..8e43d4d 100755 --- a/bin/ssh-with-gpg +++ b/bin/ssh-with-gpg @@ -1,9 +1,5 @@ #!/usr/bin/env bash -# THIS IS A DRAFT FOR TESTING. IF YOU WANT TO USE THIS, REMOVE OR COMMENT THE -# FOLLOWING LINE: -exit 0 - if [ -z "$1" ];then printf "USAGE: %b TARGET [OPTIONS...]\\n" "$(basename "$0")" >&2 exit 1 @@ -17,4 +13,4 @@ if [ -z "$REMUID" ];then exit 2 fi -ssh -R "/run/user/$(id -u)/gnupg/S.dirmngr":"/run/user/${REMUID}/gnupg/S.dirmngr" -o "StreamLocalBindUnlink=yes" "$TGT" "${@:2}" +ssh -R "/run/user/${REMUID}/gnupg/S.dirmngr":"/run/user/$(id -u)/gnupg/S.dirmngr" -o "StreamLocalBindUnlink=yes" "$TGT" "${@:2}" |