The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::SSH::Perl::WithSocks - connect to an SSH host through a TCP proxy

SYNOPSIS

        my $ssh = Net::SSH::Perl::WithSocks->new( 'motherbrain.nanabox.net',
                with_socks => {
                        socks_host => 'motherbrain.nanabox.net',
                        socks_port => 9000,
                        }
                );

        $ssh->login(); # Use it just like a regular Net::SSH object

DESCRIPTION

This is a utility to make simple the process of connecting to an SSH host by way of a TCP proxy, such as those provided by OpenSSH servers for tunneling. It is based off of Net::SSH::Perl so that it can work in Windows as well, though the basic idea could be expounded upon to support Net::SSH2 as well.

SEE ALSO

Net::SSH::Perl::ProxiedIPC is a module that can create chains of SSH objects of any type to connect to servers behind layers of security. It depends heavily on Net::SSH::Perl::WithSocks to pull off basic one-off hops and requests.

AUTHOR

Jennie Rose Evers-Corvina <seven@nanabox.net>, Matt S. Trout (mst) <mst@shadowcat.co.uk>

SOURCE AVAILABILITY

This project is in GitHub:

        https://github.com/briandfoy/net-ssh-perl-withsocks

COPYRIGHT

LICENSE

You can use this package under the Artistic License 2.0.