Hi Listers,
I'm trying to automate a Telnet login from an MPE/iX session, doing
something like this:
telnet < myfile
Where myfile contains:
open somehost.somewhere.org
username
password
ls -l
other unix commands...
exit
When I do the above, it doesn't work. It stops at the login: prompt on
the remote host. I also can't put the equivalent of the above file in a
job, because Telnet complains that it can't be run from a job (that may
be the way we have our program capabilities set up -- I'll have to talk
to our sys mgr about that). However, it would be preferable to do it
from a command file in a session.
Can anyone enlighten me as to how I could do this?
Thanks!
----------------------------------------------------------------------
John MacLerran
IT Systems Analyst email: [log in to unmask]
Idaho State University V(208) 236-2872
http://www.isu.edu/~macljohn F(208) 236-3673
----------------------------------------------------------------------