Skip to content
Snippets Groups Projects
Commit 1c0e5cf5 authored by František Dvořák's avatar František Dvořák
Browse files

More cleaning of known hosts file needed

parent 24a1796b
No related branches found
No related tags found
No related merge requests found
......@@ -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), ':']
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment