in reply to Re^4: How to open nested SSH connection using perl
in thread How to open nested SSH connection using perl

is socat or netcat or some similar program installed on serverA?