Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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
> usually easiest to issue commands to these devices by remote shell
> Would Rebol allow me to open an rsh session to the Filer, issue a
> 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
> 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