Networking Forums

Networking Forums > Computer Networking > Linux Networking > Automating Telnet Sessions

Reply
Thread Tools Display Modes

Automating Telnet Sessions

 
 
Siva Palaninathan
Guest
Posts: n/a

 
      10-27-2004, 05:45 PM

Hi,
I am trying to automate telnet sessions to retrive information from a linux
box. The box is not running a full-featured version of linux, embedded linux,
has very limited sources, memory, computing power and etc. What I am trying
to do is connect to the box, run some commands, save the telnet session in
a file. This has to be happening in a timely-fashion without user
interaction. What all I'm looking for is a small application or script that
runs on Windows platform.

Any thoughts, suggestions and etc appreciated,
Thanks.
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      10-27-2004, 05:51 PM
On 2004-10-27, Siva Palaninathan <(E-Mail Removed)> wrote:
> has very limited sources, memory, computing power and etc. What I am trying
> to do is connect to the box, run some commands, save the telnet session in
> a file.


Use expect.
Davide

--
Linux - It is now safe to turn on your computer.
-- From a Slashdot.org post
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      10-27-2004, 10:22 PM
Siva Palaninathan wrote:

>
> Hi,
> I am trying to automate telnet sessions to retrive information from a
> linux box. The box is not running a full-featured version of linux,
> embedded linux, has very limited sources, memory, computing power and etc.
> What I am trying to do is connect to the box, run some commands, save the
> telnet session in a file. This has to be happening in a timely-fashion
> without user interaction. What all I'm looking for is a small application
> or script that runs on Windows platform.
>
> Any thoughts, suggestions and etc appreciated,
> Thanks.


Ssh supports that sort of thing. Or failing that, what about some of the
"r" commands, though you have to be careful about security with those.

--

(This space intentionally left blank)
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      10-27-2004, 11:40 PM
On 27 Oct 2004 17:45:03 GMT, Siva Palaninathan <(E-Mail Removed)> wrote:
>
> Hi,
> I am trying to automate telnet sessions to retrive information from a linux
> box. The box is not running a full-featured version of linux, embedded linux,
> has very limited sources, memory, computing power and etc. What I am trying
> to do is connect to the box, run some commands, save the telnet session in
> a file. This has to be happening in a timely-fashion without user
> interaction. What all I'm looking for is a small application or script that
> runs on Windows platform.
>
> Any thoughts, suggestions and etc appreciated,


Perl is available for Windows, and it has an optional Net::Telnet module
available.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating Telnet or SSH Samuel Linux Networking 4 09-14-2007 05:35 PM
Enable root access to telnet with krb5-telnet Phoe6 Linux Networking 2 06-08-2007 11:00 AM
Automating FTP session from a log file Stefanus J Franslay Linux Networking 4 08-26-2004 04:23 PM
automating VPN connection joe bennett Windows Networking 0 12-18-2003 11:26 PM
Closed Telnet Sessions Wally Haverschmidt Linux Networking 3 10-06-2003 12:06 PM



1 2 3 4 5 6 7 8 9 10 11