summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-08-10 17:40:40 +0300
committerGitHub <noreply@github.com>2016-08-10 17:40:40 +0300
commit68e094ba7ab83fe5ee58154d2679b77a2ba86c60 (patch)
tree091579922dd198404de6eaf0bbf085d7312c0e35
parent78c3f085eef73a7fe5cbf3a1290ffd9456642c76 (diff)
parent8fdf50bca8ea9e37ce9bc162843b5f6f92bcb890 (diff)
Merge pull request #499 from cfra/master
saos: support ssh and different disable-pager command
-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