From 3cb1fd8b6a5830077be07de40d182c4b576bcbab Mon Sep 17 00:00:00 2001 From: Clay Fiske Date: Mon, 8 Jun 2015 20:47:02 +0000 Subject: Add keyboard-interactive as SSH auth method to fix Net::SSH::AuthenticationFailed on some Arista devices --- lib/oxidized/input/ssh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/input') diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb index 323a498..b1f109b 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(none publickey password), + :auth_methods => %w(none publickey password keyboard-interactive), :number_of_password_prompts => 0 unless @exec shell_open @ssh -- cgit v1.2.1