Help for this page

Select Code to Download


  1. or download this
    my $ssh = Net::OpenSSH($host,
                           master_opts => [-o => 'ProxyCommand=ssh foo nc 
    +%h %p']);
    
  2. or download this
    my $ssh = Net::OpenSSH->new($host,
                                gateway => { proxies => ['ssh://intermedia
    +te_host',
                                                         'ssh://another_ho
    +st',
                                                         'http://proxy:808
    +0'] } );