Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Multilevel SSH

by grantm (Parson)
on Oct 18, 2012 at 02:14 UTC ( [id://999650] : note . print w/replies, xml ) Need Help??


in reply to Re: Multilevel SSH
in thread Multilevel SSH

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.

I learned recently that the latest versions of OpenSSH support -W host : port to do what historically we've done with socat/netcat.

Replies are listed 'Best First'.
Re^3: Multilevel SSH
by salva (Canon) on Oct 18, 2012 at 07:42 UTC
    I know, I requested it :-)

    Net::OpenSSH::Gateway already supports it but -W requires port forwarding to be enabled on the server and, in my experience, that feature is frequently disabled in ssh gateways for security reasons.