diff options
author | Clay Fiske <clay@bloomcounty.org> | 2015-06-08 20:47:02 +0000 |
---|---|---|
committer | Clay Fiske <clay@bloomcounty.org> | 2015-06-08 20:47:02 +0000 |
commit | 3cb1fd8b6a5830077be07de40d182c4b576bcbab (patch) | |
tree | d241aef9632beca9b2a0cb649a9cf74588c1a8a4 /lib | |
parent | e18b4e9ff518a84ec2883fa72fd2c97b055242c8 (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.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 |