diff options
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/input/ssh.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb index 8caa801..11b0ae6 100644 --- a/lib/oxidized/input/ssh.rb +++ b/lib/oxidized/input/ssh.rb @@ -122,7 +122,7 @@ module Oxidized ssh_opts = { port: (vars(:ssh_port) || 22).to_i, paranoid: secure, - keepalive: true, + keepalive: vars(:ssh_no_keepalive) ? false : true, password: @node.auth[:password], timeout: Oxidized.config.timeout, number_of_password_prompts: 0 |