summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/input/ssh.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb
index f881ff1..d97633d 100644
--- a/lib/oxidized/input/ssh.rb
+++ b/lib/oxidized/input/ssh.rb
@@ -123,7 +123,10 @@ module Oxidized
port: (vars(:ssh_port) || 22).to_i,
paranoid: secure,
keepalive: true,
- password: @node.auth[:password], timeout: Oxidized.config.timeout, number_of_password_prompts: 0
+ logger: Oxidized.logger,
+ password: @node.auth[:password],
+ timeout: Oxidized.config.timeout,
+ number_of_password_prompts: 0
}
auth_methods = vars(:auth_methods) || %w(none publickey password)