diff options
author | mail_redacted_for_web | 2022-03-23 13:54:36 +0100 |
---|---|---|
committer | mail_redacted_for_web | 2022-03-23 13:54:36 +0100 |
commit | e43e77cf8e47f41350588729baf53a2fad862e85 (patch) | |
tree | 93e8b465d954a462003ce1fed1bc0a01c97f63d5 | |
parent | 19e7bf48322eceacb99f752f0d1630a14c7d4fe6 (diff) | |
download | dotfiles-e43e77cf8e47f41350588729baf53a2fad862e85.tar.bz2 |
wrong order :-)
-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}" |