From 99a05205c58752126abe648f230988c221687d27 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sat, 29 Aug 2020 14:06:21 -0400 Subject: Fix public key conflict The public keys of different toxid ssh servers were stored in known_hosts under the name 'localhost'. The key is stored under the toxid instead. --- scripts/tokssh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tokssh b/scripts/tokssh index 8169bdd..22a5f0b 100755 --- a/scripts/tokssh +++ b/scripts/tokssh @@ -71,12 +71,12 @@ then # last argument is user@toxid user="${arruserhost[0]}@" toxid=${arruserhost[1]} - hostname=localhost + hostname=$toxid else # last argument is just toxid user="" toxid=$userhost - hostname=localhost + hostname=$toxid fi #search toxid in ~/.tuntox/hosts and map it to toxid -- cgit v1.2.3