in reply to Re^3: How to open nested SSH connection using perl
in thread How to open nested SSH connection using perl
Also, which version of the ssh client is installed on the machine where you run the Perl script.
Update: in order to check if port forwarding is enabled, run the following command:
replacing serverA and serverB by the real hostnames or IPs.ssh serverA -W serverB:22
If you get a response similar to...
it means that port forwarding is enabled.SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1
|
|---|