diff options
author | ytti <saku@ytti.fi> | 2015-06-09 13:52:09 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2015-06-09 13:52:09 +0300 |
commit | cf2b493602045a7b3aad95ea329b1435d184d4e8 (patch) | |
tree | d241aef9632beca9b2a0cb649a9cf74588c1a8a4 /lib/oxidized/input | |
parent | e18b4e9ff518a84ec2883fa72fd2c97b055242c8 (diff) | |
parent | 3cb1fd8b6a5830077be07de40d182c4b576bcbab (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.rb | 2 |
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 |