summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2015-05-21 23:11:57 +0300
committerSaku Ytti <saku@ytti.fi>2015-05-21 23:11:57 +0300
commit61e9d85e24fa2d9638207153245866a8fb0c2c1e (patch)
tree913700bfa35d3a16d9d0d76c6aabf2be657849da
parentec5fbd640e69e7dcec757efb33f7421c27291020 (diff)
accept 'none' auth
used by ciscosmb and one of the wlan controllers. Thansk to @SaaldjorMike for spotting fixes #121
-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 46f90f9..323a498 100644
--- a/lib/oxidized/input/ssh.rb
+++ b/lib/oxidized/input/ssh.rb
@@ -24,7 +24,7 @@ module Oxidized
@ssh = Net::SSH.start @node.ip, @node.auth[:username],
:password => @node.auth[:password], :timeout => CFG.timeout,
:paranoid => secure,
- :auth_methods => %w(publickey password),
+ :auth_methods => %w(none publickey password),
:number_of_password_prompts => 0
unless @exec
shell_open @ssh