Net-SSH-Tunnel

 view release on metacpan or  search on metacpan

lib/Net/SSH/Tunnel.pm  view on Meta::CPAN

sub init {
    my $self = shift;

    my $opts = {
        hostport    => 22,
        port        => 10000,
        type        => 'local',
        action      => 'setup',
        help        => 0,
        debug       => 0,
        user        => scalar( getpwuid($>) ),
        sshport     => 22,
    };

    GetOptions(
        $opts,
        'hostname=s',
        'host=s',
        'type=s',
        'hostport=i',
        'port=i',



( run in 0.383 second using v1.01-cache-2.11-cpan-8d75d55dd25 )