diff options
author | Denver Abrey <denvera@gmail.com> | 2016-10-13 22:00:33 +0200 |
---|---|---|
committer | Denver Abrey <denvera@gmail.com> | 2016-10-13 22:00:33 +0200 |
commit | 22755169b513ebde33de2704afd2f7a0b366723a (patch) | |
tree | c908300091e4fe08b65ccd1d48f78f84f38f685c /lib/oxidized/node.rb | |
parent | 83a81dabdb8e0acb5cec4fdb83417898575d2736 (diff) |
Add key authentication to ssh input
Diffstat (limited to 'lib/oxidized/node.rb')
-rw-r--r-- | lib/oxidized/node.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb index c93a16a..dc44df7 100644 --- a/lib/oxidized/node.rb +++ b/lib/oxidized/node.rb @@ -130,8 +130,9 @@ module Oxidized def resolve_auth opt # Resolve configured username/password { - username: resolve_key(:username, opt), - password: resolve_key(:password, opt), + username: resolve_key(:username, opt), + password: resolve_key(:password, opt), + private_key: resolve_key(:private_key, opt), } end |