Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Answer: How do I telnet into a machine and then to a third one?

by Marza (Vicar)
on May 16, 2002 at 21:25 UTC ( #167121=categorized answer: print w/replies, xml ) Need Help??

Q&A > network programming > How do I telnet into a machine and then to a third one? - Answer contributed by Marza

I don't think this is possible. You are expecting the second telnet session to be handled by Net::Telnet. It won't.

The reason is that you are running telnet as a command line tool over Net::Telnet's telnet session. Net::Telnet doesn't know that the second telnet session exists. All it knows is that you sent some keystrokes to the remote server. The remote server is the one initiating and managing the telnet session.

  • Comment on Answer: How do I telnet into a machine and then to a third one?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[thezip]: Is there an analogy for '&' (ie. run commandline process in background) for Windows commandline?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2017-03-27 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (321 votes). Check out past polls.