diff options
| author | Saku Ytti <saku@ytti.fi> | 2015-05-21 23:11:57 +0300 | 
|---|---|---|
| committer | Saku Ytti <saku@ytti.fi> | 2015-05-21 23:11:57 +0300 | 
| commit | 61e9d85e24fa2d9638207153245866a8fb0c2c1e (patch) | |
| tree | 913700bfa35d3a16d9d0d76c6aabf2be657849da /lib/oxidized | |
| parent | ec5fbd640e69e7dcec757efb33f7421c27291020 (diff) | |
accept 'none' auth
used by ciscosmb and one of the wlan controllers. Thansk to
@SaaldjorMike for spotting
fixes #121
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 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 | 
