use /dev/null as known_hosts, hope to lower noise from ssh warning messages
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 20 Nov 2008 10:57:25 +0000 (10:57 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 20 Nov 2008 10:57:25 +0000 (10:57 +0000)
system/TestSsh.py

index fbaee1c..d881cf8 100644 (file)
@@ -55,7 +55,7 @@ class TestSsh:
     def is_local(self):
         return TestSsh.is_local_hostname(self.hostname)
      
-    std_options="-o StrictHostKeyChecking=no -o BatchMode=yes "
+    std_options="-o BatchMode=yes -o StrictHostKeyChecking=no -o CheckHostIP=no -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null "
     
     def key_part (self):
         if not self.key: