Help Required using NET::TELNET Module ??
- From: mark1.thompson45@xxxxxxxxxxxxxx
- Date: 29 Dec 2005 03:19:39 -0800
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.
.
- Follow-Ups:
- Re: Help Required using NET::TELNET Module ??
- From: Gratemyl
- Re: Help Required using NET::TELNET Module ??
- Prev by Date: FAQ 9.4 How do I remove HTML from a string?
- Next by Date: Re: installing perl and some modules on many hosts
- Previous by thread: FAQ 9.4 How do I remove HTML from a string?
- Next by thread: Re: Help Required using NET::TELNET Module ??
- Index(es):
Relevant Pages
|
|