[BusyBox] scriptable telnet

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Nov 18 07:51:33 UTC 2004


> -----Original Message-----
> From: busybox-bounces at mail.busybox.net 
> [mailto:busybox-bounces at mail.busybox.net] On Behalf Of bugouzhi Wang
> Sent: Thursday, November 18, 2004 08:32
> To: busybox at mail.busybox.net
> Subject: [BusyBox] scriptable telnet
> 
> Hi 
> I saw this was a past issue in the archive, sorry to bring it up
> again. but I couldn't figure it out how to automate telnet.  I tried
> something like piping the logins and command through a script to
> telnet, but it seems telnet close stdin and not accepting anything
> from the pipe.  I was wondering why? And also any other ways to do
> this?
> 
> Thanks
> 
> Jian

Try expect. [1]

//Peter

[1] http://expect.nist.gov/



More information about the busybox mailing list