From 8fdf50bca8ea9e37ce9bc162843b5f6f92bcb890 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Fri, 15 Jul 2016 15:47:48 +0200 Subject: saos: support ssh and different disable-pager command --- lib/oxidized/model/saos.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/oxidized/model/saos.rb') 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 -- cgit v1.2.1