diff options
author | Andrew Cady <d@jerkface.net> | 2021-10-07 19:17:57 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-08 04:01:58 -0400 |
commit | eb4d601667665c3b757a917f7c9ad0f2c233fe07 (patch) | |
tree | 08acb209539253d8d069ad651e62bd92c0a5ea92 | |
parent | 447ad0521b439ffdb30831b4c158af708b242fa0 (diff) |
tokssh can safely accept new ssh keys, since the tox ID is self-authenticating
-rwxr-xr-x | scripts/tokssh | 8 |
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= |
99 | fi | 99 | fi |
100 | 100 | ||
101 | ssh -o ProxyCommand="tuntox $persist -i $toxid -W 127.0.0.1:%p $secret" $args ${user}${hostname} | 101 | ssh \ |
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} | ||