[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: automated telnetting




Expect is a good scripting language for doing such things.  As the name
indicates, it you tell the script what output to "expect", and then
how to react to it.

On Sun, 11 Feb 2001, goesbatu wrote:

> I would like to have one program start another program on
> another box.  My apparent tools are C++ code and script.
>
> I will supply the IP Address and username and will have
> my system prompt me for a password.  Then, I want my system
> to automatically telnet to the other system, log on, and
> start a program that is already on the other system.
>
> The reason I want to automate this is because I will be
> doing it many times.  I'll be doing it on Solaris, now,
> but will eventually be doing it on Linux.
>
> Any pointers on a good way to try to do this?
>
> --Chester Langin-------------------------------------------
> <http://www.cs.siu.edu/~langin>  <mailto:langin@cs.siu.edu>
> "Every statement is either a paradox or it isn't."
> "The above statement is false."
> -----------------------------------------------------------
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
>

	     -----------------------------------------------------
	     Richard H. Fifarek	       		rfifarek@silug.org
             -----------------------------------------------------

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.