From 9a9dccc795ff83f99f478d9be03ed99eba777181 Mon Sep 17 00:00:00 2001 From: Martin Pihlak Date: Wed, 9 Feb 2011 13:12:47 +0000 Subject: [PATCH] SSH batch mode and no strict host checking for remote_walmgr --- python/walmgr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/walmgr.py b/python/walmgr.py index 52eab614..a4e69e09 100755 --- a/python/walmgr.py +++ b/python/walmgr.py @@ -708,7 +708,8 @@ class WalMgr(skytools.DBScript): raise Exception("slave_config not specified in %s" % self.cfgfile) slave_host = self.cf.get("slave") - cmdline = [ "ssh", sshopt, slave_host, self.script, slave_config, command ] + cmdline = [ "ssh", sshopt, "-o", "Batchmode=yes", "-o", "StrictHostKeyChecking=no", + slave_host, self.script, slave_config, command ] if self.not_really: self.log.info("remote_walmgr: %s" % command) -- 2.39.5