I need to run a script using Net::Telnet which logs into one machine and then into a third machine (because of a firewall) and pull info of the third server. My script always fails after the login to the second machine.
How should I initiate the telnet session on the second machine correctly?