[REBOL] Re: Rebol and rsh ?
From: maarten:vrijheid at: 2-Oct-2003 7:36
Hi Mark,
> 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 ?
There is nor rsh:// protocol in REBOL, but parsing and networking are
built-in and very easy. So you might be able to quickly implement (a
subset of) rsh.
Big advantage: you can do anything controlling those boxes
*cross-platform*. Downside is that you'll have to implement rsh (at
least partially). That said, rsh looks easy to me, as you don't even
provide a password etc.
Are you sure you want to use rsh (security wise)?
> 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.
>
> Am I looking at the write tool for the job ?
I think so, but you'll have to add some rsh lingo. If you have some rsh
specs I am sure we (the mailing list) can help you get this working in a
short timeframe. And of course the REBOL community has rsh possibilities
after that ;-)
--Maarten