summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-10-07 19:17:57 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-08 04:01:58 -0400
commiteb4d601667665c3b757a917f7c9ad0f2c233fe07 (patch)
tree08acb209539253d8d069ad651e62bd92c0a5ea92
parent447ad0521b439ffdb30831b4c158af708b242fa0 (diff)
tokssh can safely accept new ssh keys, since the tox ID is self-authenticating
-rwxr-xr-xscripts/tokssh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/tokssh b/scripts/tokssh
index 22a5f0b..904efd4 100755
--- a/scripts/tokssh
+++ b/scripts/tokssh
@@ -98,4 +98,10 @@ else
98 persist= 98 persist=
99fi 99fi
100 100
101ssh -o ProxyCommand="tuntox $persist -i $toxid -W 127.0.0.1:%p $secret" $args ${user}${hostname} 101ssh \
102 -o ProxyCommand="tuntox $persist -i $toxid -W localhost:%p $secret" \
103 -o StrictHostKeyChecking=accept-new \
104 -o CanonicalizeHostname=no \
105 -o UpdateHostKeys=yes \
106 $args \
107 ${user}${hostname}