Re: Help Required using NET::TELNET Module ??
- From: "Gratemyl" <gratemyl@xxxxxxxxx>
- Date: 29 Dec 2005 04:14:25 -0800
mark1.thompson45@xxxxxxxxxxxxxx wrote:
> 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.
Please include some more (if not all) code, then better support can be
given. My understanding is that you would like to make a connection to
machine B, which originates from machine A. Though this is possible,
you will need to give more info, so we can help.
Yours,
Gratemyl
.
- Follow-Ups:
- Re: Help Required using NET::TELNET Module ??
- From: mark1 . thompson45
- Re: Help Required using NET::TELNET Module ??
- References:
- Help Required using NET::TELNET Module ??
- From: mark1 . thompson45
- Help Required using NET::TELNET Module ??
- Prev by Date: Re: Slurp large files into an array, first is quick, rest are slow
- Next by Date: Re: Help Required using NET::TELNET Module ??
- Previous by thread: Help Required using NET::TELNET Module ??
- Next by thread: Re: Help Required using NET::TELNET Module ??
- Index(es):
Relevant Pages
|