From b427788ebd121eb8d21a65443e1f1127851613d1 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Thu, 22 Apr 2010 11:06:36 +0200 Subject: [PATCH] SSH: do not check IPs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since we use the cluster name for the SSH known_hosts file, ssh will always detect a changed IP (since we never connect to the cluster master name, but the node names), and will complain about it/try to update the user known hosts file (since that is /dev/null, it doesn't matter, but it's not nice). So we disable the IP check. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- lib/ssh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ssh.py b/lib/ssh.py index b3116d3a0..ba4c3eb33 100644 --- a/lib/ssh.py +++ b/lib/ssh.py @@ -95,6 +95,7 @@ class SshRunner: "-oHashKnownHosts=no", "-oGlobalKnownHostsFile=%s" % constants.SSH_KNOWN_HOSTS_FILE, "-oUserKnownHostsFile=/dev/null", + "-oCheckHostIp=no", ] if use_cluster_key: -- GitLab