summaryrefslogtreecommitdiff
path: root/lib/oxidized/input
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-06-09 13:52:09 +0300
committerytti <saku@ytti.fi>2015-06-09 13:52:09 +0300
commitcf2b493602045a7b3aad95ea329b1435d184d4e8 (patch)
treed241aef9632beca9b2a0cb649a9cf74588c1a8a4 /lib/oxidized/input
parente18b4e9ff518a84ec2883fa72fd2c97b055242c8 (diff)
parent3cb1fd8b6a5830077be07de40d182c4b576bcbab (diff)
Merge pull request #128 from cfiske/master
Add keyboard-interactive SSH auth to fix Arista login failures
Diffstat (limited to 'lib/oxidized/input')
-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