ssh.run does not work well with some devices

XMLWordPrintable

    • Type: Problem report
    • Resolution: Cannot Reproduce
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Steps to reproduce:

      1. Create a Cisco switch as host
      2. Create an item, type SSH agent, executed script: show run

      Result:

      • Cannot read data from SSH server

      Expected:
      Output of show run

       

      What is the problem?

      The switch prints some amount of characters. Then it stops, showing the text "more", and waiting for the user to press any key.

       

      Possible workaround does not work

      • A possible workaround would be using two lines: 
      • term len 0
      • show run

      but this does not work. The error is

      Line has invalid autocommand "term len 0
      show run"

      term len 0\nshow run or term len 0\nshow run does not work either.

            Assignee:
            Aigars Kadikis
            Reporter:
            Bart Heerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: