From eb4d601667665c3b757a917f7c9ad0f2c233fe07 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Thu, 7 Oct 2021 19:17:57 -0400 Subject: tokssh can safely accept new ssh keys, since the tox ID is self-authenticating --- scripts/tokssh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/tokssh b/scripts/tokssh index 22a5f0b..904efd4 100755 --- a/scripts/tokssh +++ b/scripts/tokssh @@ -98,4 +98,10 @@ else persist= fi -ssh -o ProxyCommand="tuntox $persist -i $toxid -W 127.0.0.1:%p $secret" $args ${user}${hostname} +ssh \ + -o ProxyCommand="tuntox $persist -i $toxid -W localhost:%p $secret" \ + -o StrictHostKeyChecking=accept-new \ + -o CanonicalizeHostname=no \ + -o UpdateHostKeys=yes \ + $args \ + ${user}${hostname} -- cgit v1.2.3