Commit 3899870e authored by Iustin Pop's avatar Iustin Pop
Browse files

Disable hashing of the ssh keys.

In case we use StrictHostKeyChecking=ask, also add HashKnownHosts=no so that
debugging is easier. The nodes to which we are connecting are anyway visible in
/etc/ssh/ssh_known_hosts.
parent 644eeef9
......@@ -53,6 +53,7 @@ def SSHCall(hostname, user, command, batch=True, ask_key=False):
raise errors.ProgrammerError("SSH call requested conflicting options")
if ask_key:
argv.append("-oStrictHostKeyChecking=ask")
argv.append("-oHashKnownHosts=no")
else:
argv.append("-oStrictHostKeyChecking=yes")
argv.extend(["%s@%s" % (user, hostname), command])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment