From e43e77cf8e47f41350588729baf53a2fad862e85 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Wed, 23 Mar 2022 13:54:36 +0100 Subject: wrong order :-) --- bin/ssh-with-gpg | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bin') 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}" -- cgit v1.2.3