summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorDanilo Sousa <dsgoncalves@uoldiveo.com>2016-03-04 10:23:08 -0300
committerDanilo Sousa <dsgoncalves@uoldiveo.com>2016-03-04 10:23:08 -0300
commit09d0ef98226a1f69ca440fb540c651e04aba7f34 (patch)
treec3d4575348898420c44c4c3936410af4b622b16b /lib/oxidized/model
parent5eb9bd46366e9e37949020d7af71579969d6caa8 (diff)
include SSH support for DataCom models
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/datacom.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/datacom.rb b/lib/oxidized/model/datacom.rb
index 054d60a..54091ed 100644
--- a/lib/oxidized/model/datacom.rb
+++ b/lib/oxidized/model/datacom.rb
@@ -24,7 +24,7 @@ class DataCom < Oxidized::Model
cfg.cut_head
end
- cfg :telnet do
+ cfg :telnet, :ssh do
username /login:\s$/
password /^Password:\s$/
pre_logout 'exit'