summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-07-15 15:47:48 +0200
committerChristian Franke <nobody@nowhere.ws>2016-07-24 20:29:51 +0200
commit8fdf50bca8ea9e37ce9bc162843b5f6f92bcb890 (patch)
treebda43b72e7c4cd313ec0e0cfd1e634051fdea7c9 /lib
parent42ff6564f09a7316c032faff6da9e03a755dafca (diff)
saos: support ssh and different disable-pager command
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/saos.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/oxidized/model/saos.rb b/lib/oxidized/model/saos.rb
index cada35b..5d460cf 100644
--- a/lib/oxidized/model/saos.rb
+++ b/lib/oxidized/model/saos.rb
@@ -17,8 +17,10 @@ class SAOS < Oxidized::Model
username /login:/
password /assword:/
end
- cfg :telnet do
+
+ cfg :telnet, :ssh do
+ post_login 'system shell set more off'
post_login 'system shell session set more off'
pre_logout 'exit'
end
-end \ No newline at end of file
+end