From 1c0e5cf53e3d75fc34a67beb9695c29f953b37d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz> Date: Wed, 9 Dec 2020 13:31:46 +0100 Subject: [PATCH] More cleaning of known hosts file needed --- orchestrate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/orchestrate.py b/orchestrate.py index 0d8e223..e3cd13b 100755 --- a/orchestrate.py +++ b/orchestrate.py @@ -105,6 +105,7 @@ if 'init' in args.actions: ] for ip in hosts.values(): commands += [ + ['ssh-keygen', '-R', ip], ['ssh', '-o', 'ForwardAgent=yes', '-o', 'ProxyCommand=ssh -W %s:22 -q %s@%s' % (ip, user, master_ip), '-o', 'StrictHostKeyChecking=no', '%s@%s' % (user, ip), ':'] ] -- GitLab