Help for this page

Select Code to Download


  1. or download this
    
    my $ssh2 = Net::SSH2->new;
    die "can't connect" unless $ssh2->connect("ip");
    
  2. or download this
    Net::SSH2::connect: failed to connect to <ip>:22: Connection refused a
    +t test.pl at line 10
    
  3. or download this
    
    Net::SSH2::connect: failed to connect to ip:22: Connection refused at 
    +./scripts/ssh_subrtns.pl line 2644
    
  4. or download this
            my $ssh2 = Net::SSH2->new();
    
    ...
            }