From f1612276132d4bca51224dfe4ad919177df5b805 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 16 Aug 2021 21:02:44 +0200 Subject: [PATCH] bad space --- zen/ipfs_P2P_forward.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zen/ipfs_P2P_forward.sh b/zen/ipfs_P2P_forward.sh index 3a94312..1d5d9f8 100755 --- a/zen/ipfs_P2P_forward.sh +++ b/zen/ipfs_P2P_forward.sh @@ -54,7 +54,8 @@ fi # Every Station publish SSH port "/x/ssh-$zuid" zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid)" -if [[ $zuidĀ ]]; then +if [[ $zuid ]] +then if [[ ! $(cat ~/.ssh/authorized_keys | grep "fred@ONELOVE") ]] then # ADD fred@ONELOVE to ~/.ssh/authorized_keys