From 9355f2c2070a2ce07de92de742062e7351d3ef8c Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sun, 26 Sep 2021 21:15:06 -0400 Subject: "cryptonomic dyndns" command will now allow ssh options (e.g. -6) --- selfpublish.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/selfpublish.sh b/selfpublish.sh index b480450..7a600ba 100644 --- a/selfpublish.sh +++ b/selfpublish.sh @@ -354,7 +354,9 @@ then elif [ "$1" = dyndns ] then - set -- ssh -i "$KEY_FILE" dyndns@"$DOMAIN" "$(hostname)" + shift + # further command line options are ssh options + set -- ssh -i "$KEY_FILE" dyndns@"$DOMAIN" "$@" -- "$(hostname)" if [ -r "$KEY_FILE" ] then -- cgit v1.2.3