From 61e9d85e24fa2d9638207153245866a8fb0c2c1e Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Thu, 21 May 2015 23:11:57 +0300 Subject: accept 'none' auth used by ciscosmb and one of the wlan controllers. Thansk to @SaaldjorMike for spotting fixes #121 --- lib/oxidized/input/ssh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized') 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 -- cgit v1.2.1