summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2022-03-01 20:42:14 -0500
committerAndrew Cady <d@jerkface.net>2022-03-01 20:42:14 -0500
commitc65d4eaa126b6e5b63091cc622ebfbc15e605149 (patch)
tree9bc29a349669c69fe3ee5223e4b95083ef72565d
parent630f77b50285ab70659d3256135bf8bf6a7e1965 (diff)
fix tokssh
-rwxr-xr-xscripts/tokssh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/tokssh b/scripts/tokssh
index 844bad6..1e13eca 100755
--- a/scripts/tokssh
+++ b/scripts/tokssh
@@ -51,6 +51,7 @@ then
51 unset TUNTOX_DESTINATION 51 unset TUNTOX_DESTINATION
52fi 52fi
53 53
54ssh_options=()
54while [ $# -gt 0 ] 55while [ $# -gt 0 ]
55do 56do
56 case "$1" in 57 case "$1" in
@@ -83,8 +84,8 @@ fi
83# exchange. 84# exchange.
84 85
85ssh \ 86ssh \
86 -o ProxyCommand="tuntox $persist -i $toxid -W localhost:%p '$TUNTOX_SECRET'" \ 87 -o ProxyCommand="tuntox $persist -i %h -W localhost:%p '$TUNTOX_SECRET'" \
87 -o StrictHostKeyChecking=accept \ 88 -o StrictHostKeyChecking=accept-new \
88 -o CanonicalizeHostname=no \ 89 -o CanonicalizeHostname=no \
89 -o UpdateHostKeys=yes \ 90 -o UpdateHostKeys=yes \
90 "${ssh_options[@]}" \ 91 "${ssh_options[@]}" \