[REBOL] Re: Rebol and rsh ?
From: louisgosselin:accesrail at: 2-Oct-2003 11:45
Along this line, I once used little-bell.r from Ole Friis as a basis for a
Rebol script that would login into a router using telnet, and issue commands
to check, or reconfigure the router. I recall that this was one of my very
first rebol projects and was not very difficult.
At 10:07 AM 02/10/2003, you wrote:
Am Donnerstag, 2. Oktober 2003 05:33 schrieb Mark Smith - IBM:
>I'm currently looking after a number of NetApp Filers (NAS boxes) and it's
>usually easiest to issue commands to these devices by remote shell (rsh).
>Would Rebol allow me to open an rsh session to the Filer, issue a command
>to that Filer and then parse the output returned ?
>The problem with the devices is that although you can open a telnet session
>to the them you can only open one at a time ... so if I logged in via
>telnet no one else would be able to, this is why rsh is used beause it we
>just write a line like "rsh Filer1 reboot" but I'm hoping Rebol would
>allow me to make a number of scripts and then allow me to strip out or sort
>and returned information.
don't know about rsh.
But you can telnetting with tcp://.
So the script could log in and out for each line.
then each session would run some seconds.
>Am I looking at the write tool for the job ?
>CAUTION - This message may contain privileged and confidential
>information intended only for the use of the addressee named above.
>If you are not the intended recipient of this message you are hereby
>notified that any use, dissemination, distribution or reproduction
>of this message is prohibited. If you have received this message in
>error please notify Air New Zealand immediately. Any views expressed
>in this message are those of the individual sender and may not
>necessarily reflect the views of Air New Zealand.
>For more information on the Air New Zealand Group, visit us online
CAUTION: i am not awake enough to read more then one line of the warning
above! If there are some important restrictions, better don't send it to me.
To unsubscribe from this list, just send an email to
[rebol-request--rebol--com] with unsubscribe as the subject.
--- Links ---