[BusyBox] scriptable telnet

Ramon Bastiaans bastiaans at sara.nl
Thu Nov 18 08:21:43 UTC 2004


There is a tool called 'expect' which allows (tcl) scriptable
telnet/ftp/etc sessions, but this is not included in busybox;

http://expect.nist.gov/

You could also try setting up some sort of automated rsh/ssh if it's
only certain commands you want to perform.

Regards,

Ramon.

> -----Original Message-----
> From: busybox-bounces at mail.codepoet.org [mailto:busybox-
> bounces at mail.codepoet.org] On Behalf Of bugouzhi Wang
> Sent: donderdag 18 november 2004 8:32
> To: busybox at mail.codepoet.org
> 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



More information about the busybox mailing list