summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorArnoud Vermeer <a.vermeer@tech.leaseweb.com>2017-03-16 10:56:20 +0100
committerArnoud Vermeer <a.vermeer@tech.leaseweb.com>2017-03-16 10:56:20 +0100
commitf9cc5df2661eb4fc073c041f298073b89f91210b (patch)
tree194b90ac0c8e54a9c8ddac8fbbf4eed7e0e26004 /lib/oxidized
parent429920ca38bedd887588bf37692df7b7de40e0d7 (diff)
Ignore the host key checking
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/input/ssh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb
index 9a5c508..edde6b7 100644
--- a/lib/oxidized/input/ssh.rb
+++ b/lib/oxidized/input/ssh.rb
@@ -25,7 +25,7 @@ module Oxidized
@log = File.open(Oxidized::Config::Log + "/#{@node.ip}-ssh", 'w') if Oxidized.config.input.debug?
port = vars(:ssh_port) || 22
if proxy_host = vars(:ssh_proxy)
- proxy = Net::SSH::Proxy::Command.new("ssh #{proxy_host} -W %h:%p")
+ proxy = Net::SSH::Proxy::Command.new("ssh -o StrictHostKeyChecking=no #{proxy_host} -W %h:%p")
end
ssh_opts = {
:port => port.to_i,