diff options
author | Andrew Cady <d@samizdat> | 2021-09-26 21:15:06 -0400 |
---|---|---|
committer | Andrew Cady <d@samizdat> | 2021-09-26 21:15:06 -0400 |
commit | 9355f2c2070a2ce07de92de742062e7351d3ef8c (patch) | |
tree | c71583b40a603fc5983672af63805706a67d46d8 | |
parent | be143ef268140775118d3f1c6da920817f6a2c18 (diff) |
"cryptonomic dyndns" command will now allow ssh options (e.g. -6)
-rw-r--r-- | selfpublish.sh | 4 |
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 | ||
355 | elif [ "$1" = dyndns ] | 355 | elif [ "$1" = dyndns ] |
356 | then | 356 | then |
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 |