Thanks Marc,
I'm interested in further exploring "expect". However, I found a utility on
freshmeat.net that does exactly what I need. It's called MRAT and can be
found under "Security"/"Networking". I've downloaded and untared it but
haven't tried it on Linux yet.
Thanks,
Steve Barrett
> -----Original Message-----
> From: Marc Mutz [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, June 29, 2000 11:20 AM
> To: Barrett, Steven P.
> Cc: [EMAIL PROTECTED]
> Subject: Re: Telnet Scripting?
>
> [EMAIL PROTECTED] wrote:
> >
> <snip>
> > I know that I can use CRON and .telnetrc to schedule and automate most
> of
> > the Telnet process. But, is there then a way to pass Cisco router
> commands
> > to the router by somehow scripting the commands or redirecting them from
> a
> > file on the Linux machine? Is it futile to persue this? Any assistance
> is
> > appreciated.
> <snip>
>
> >From man expect:
>
> <quote>
> INTRODUCTION
> Expect is a program that "talks" to other interactive pro
> grams according to a script. Following the script, Expect
> knows what can be expected from a program and what the
> correct response should be. An interpreted language pro
> vides branching and high-level control structures to
> direct the dialogue. In addition, the user can take con
> trol and interact directly when desired, afterward return
> ing control to the script.
> </quote>
>
> Marc
>
> --
> Marc Mutz <[EMAIL PROTECTED]> http://marc.mutz.com/Encryption-HOWTO/
> University of Bielefeld, Dep. of Mathematics / Dep. of Physics
>
> PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs