Re: OT - Entubar ordenes al TELNET
Proba con expect
Description: A program that "talks" to other programs.
Expect is a program that "talks" to other interactive programs
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 provides branching and high-
level control structures to direct the dialogue. In addition,
the user can take control and interact directly when desired,
afterward returning control to the script.
El vie, 11-07-2003 a las 03:15, Fernando Blat Peris escribió:
> > Mejor cambiate a ssh que escriptado y hacer lo que quieres es trivial,
> > simplemente das:
> >
> > ssh host comando
>
> El problema es que lo he de hacer con TELNET y no puedo usar otra cosa.
> --
> Fernando Blat Peris
> http://blape.homelinux.com
> Polinux <http://polinux.upv.es>
> UPV - Valencia
>
Reply to: