projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1093013
)
SSH batch mode and no strict host checking for remote_walmgr
author
Martin Pihlak
<martin.pihlak@skype.net>
Wed, 9 Feb 2011 13:12:47 +0000
(13:12 +0000)
committer
Martin Pihlak
<martin.pihlak@skype.net>
Wed, 9 Feb 2011 13:12:47 +0000
(13:12 +0000)
python/walmgr.py
patch
|
blob
|
blame
|
history
diff --git
a/python/walmgr.py
b/python/walmgr.py
index 52eab6148faa0db10dd2d982a2e71c84a23bba88..a4e69e09350c9a13fc6afe26d40420bd72ae6059 100755
(executable)
--- 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)