summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@samizdat>2021-09-26 21:15:06 -0400
committerAndrew Cady <d@samizdat>2021-09-26 21:15:06 -0400
commit9355f2c2070a2ce07de92de742062e7351d3ef8c (patch)
treec71583b40a603fc5983672af63805706a67d46d8
parentbe143ef268140775118d3f1c6da920817f6a2c18 (diff)
"cryptonomic dyndns" command will now allow ssh options (e.g. -6)
-rw-r--r--selfpublish.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/selfpublish.sh b/selfpublish.sh
index b480450..7a600ba 100644
--- a/selfpublish.sh
+++ b/selfpublish.sh
@@ -354,7 +354,9 @@ then
354 354
355elif [ "$1" = dyndns ] 355elif [ "$1" = dyndns ]
356then 356then
357 set -- ssh -i "$KEY_FILE" dyndns@"$DOMAIN" "$(hostname)" 357 shift
358 # further command line options are ssh options
359 set -- ssh -i "$KEY_FILE" dyndns@"$DOMAIN" "$@" -- "$(hostname)"
358 360
359 if [ -r "$KEY_FILE" ] 361 if [ -r "$KEY_FILE" ]
360 then 362 then