Do you know where your variables are? | |
PerlMonks |
Re: Multilevel SSHby salva (Canon) |
on Oct 17, 2012 at 07:49 UTC ( [id://999475]=note: print w/replies, xml ) | Need Help?? |
You can use Net::OpenSSH and Net::OpenSSH::Gateway. The later is not on CPAN yet because I am not completely happy with its internals, but otherwise it is completely functional.
Once installed, you can run: Under the hood it uses several tricks to find a way to jump from one hop to the next, as creating tunnels or running any of socat, netcat or perl.
In Section
Seekers of Perl Wisdom
|
|