Help Required using NET::TELNET Module ??



Hello,
I need to know how you telnet from one host to another using
the net::telnet module. I can telnet to a single host OK but I need to
telnet from that host to a 2nd machine, I cannot get this to work, I
merely start anothet telnet session (spawn a new telnet session) from
my host machine.

i.e.

this works:-
host machine -------> machine A

this does not:-
host machine -------> machine A -----------> machine B


I am using:-

$script = new Net::Telnet (Timeout=>5, Errmode=>'return',
Prompt=>'/[\$?>:#\]] *$/');

I need to do this as some devices (machine B) I
am trying to contact can only be accessed from a jumpstart server
(machine A).


cheers, Mark.

.



Relevant Pages

  • Expect, telnet, frozen console.
    ... telnet into remote host, provide username/password, surrender control to ... This script will eventually be tied into /etc/inittab so that it ... app called 'loe' which presents a login screen in 80x24 ASCII a la ...
    (comp.lang.tcl)
  • Re: rlogin
    ... login the server using telnet, rsh, rlogin and also ssh. ... Telnet does not provide any protection. ... We have only 1 host system. ...
    (comp.unix.aix)
  • Re: unable to send outbound mail using outlook
    ... telnet moses.stphilipchurch.com 25 ... Connecting To moses.stphilipchurch.com...Could not open connection to the ... on port 25: Connect failed ... Connecting To 66.126.247.115...Could not open connection to the host, ...
    (microsoft.public.exchange.admin)
  • Re: No route to host
    ... route to host" is returned. ... three telnet tests to try and the results are below. ... Connection closed by foreign host. ...
    (comp.mail.sendmail)
  • Re: How do you telnet from 1 host to another using Telnet Module
    ... from my limited experience with using ... this module I have managed to successfully telnet from the host that my ... telnet session from the host where my script executes from and not from ...
    (comp.lang.perl.modules)