
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
SSH Command with more option
Hi,
As everytime, to execute SSH commands on a remote equipements we use /Base /Library/Operations/Remote Command Execution/SSH/v1.0/SSH Shell operation, but this time it is different;
Our colleagues in other deparment want to automate the execution of a command wich is pretty different:
This command does not show the whole output, instead, it shows some lines and than the option More is available, so if we want to show more output we have to tap Enter Enter ...... .
The problem is, how to do that with OO?
How to send Enter character? And How many times ? Is it a good idea to send 10000000 times ?
Regards;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
no more, alone as a command does not work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
error message; Parameter not found


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
the doc says you need to be in the environment context to set it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
try "/no more" - in one video they advise that the / allows for contextless updates
If that doesnt work try either "/environment no more"
or "environment no more"
or "environment" return "no more"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
command not found


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I added a couple of other command variants to try as well when you get a chance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
weird equipments !


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
this is the only reference I can find to the command.
https://www.alcatelunleashed.com/viewtopic.php?t=21746
you could try to do something hacky like send a bunch of carriage returns but sorting this "no more" thing out is the right way to do it as far as the docs go. its not really a limitation of OO but a "feature" of the target device

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
because you're in another device interface this stuff likely won't work but
send echo "\n\n\n\n" | yourCommand
will "hit enter" 4 times

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I have something that works but very very heavy :
send command
expectEndsWith --More--
send "\n"
expectEndsWith --More--
after send "\n" there is only one new line, impossible!
So i have to iterate 5000 times, send "\n" 5000 times to get my output, impossible!
- « Previous
-
- 1
- 2
- Next »