[ale] SSh/telnet to the host from shell

Robert Gash gashalot at gashalot.com
Mon Oct 22 12:31:33 EDT 2001


Since you're attempting to automate the login procedure, I'd imagine
that you are trying to script an entire interactive session to
accomplish some sort of goal (get statistics, etc).


If you are attempting to automate such use of interactive programs, use
Expect to script the operation.  Expect provides a TCL-based way of
creating scripts that are capable of "using" interactive programs, which
can include telnet/ssh if you so desire. Expect is available at
http://expect.nist.gov/ .

-R

-- 
Robert Gash, CS, Georgia Tech  \\  gashalot at gashalot.com gte393u at prism
CS1321 Teaching Assistant      //  pgp keys - gashalot.com/pgpkeys.txt


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list