Subject: | |
From: | |
Reply To: | |
Date: | Wed, 11 Oct 1995 11:16:27 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hello all!
We're trying to have a POSIX shell script, or a job of some kind, use 5.0's
generic telnet to go over to a unix machine and execute a Perl/Shell/? script
over there. We've tried multiple ways of redirecting STDIN. Each time, it
connects fine, but it waits for someone to input the user name and password. If
that's to be run automatically, that won't do. We've tried running telnet through
a job stream, and it flat out told us that you can't run telnet in batch mode.
Is there something that I'm missing? (sample below)
TIA
- Randy Smith
Hoechst Celanese - Shelby Plant
Sample of what happens
:run telnet.arpa.sys;stdin=teletest.usr
Telnet Client [A0001000] (C) Hewlett-Packard Co. 1994
telnet> Trying...
Connected to ux_box.
Escape character is '^]'.
HP-UX ux_box A.09.01 E 9000/735 (ttys0)
login:
it sits there and waits until you type something in. It seems to be reading
STDIN to that point, and then stopping.
Sample Script:
open ux_box
TESTUSER
testpassword
quit
|
|
|