summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorClay Fiske <clay@bloomcounty.org>2015-06-08 20:47:02 +0000
committerClay Fiske <clay@bloomcounty.org>2015-06-08 20:47:02 +0000
commit3cb1fd8b6a5830077be07de40d182c4b576bcbab (patch)
treed241aef9632beca9b2a0cb649a9cf74588c1a8a4 /lib
parente18b4e9ff518a84ec2883fa72fd2c97b055242c8 (diff)
Add keyboard-interactive as SSH auth method to fix Net::SSH::AuthenticationFailed on some Arista devices
Diffstat (limited to 'lib')
-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 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