Help for this page

Select Code to Download


  1. or download this
    throws_ok { my $wsr = WebServerRemote->new(ssh => 'me@10.0.300.99') } 
    +qr {could not connect},
        'complains if unable to connect';
    
  2. or download this
      my $ssh = Net::OpenSSH->new($host, %opts);     
      $ssh->error and croak "could not connect to host: $ssh->error";
    
  3. or download this
    ssh: Could not resolve hostname 10.0.300.99: nodename nor servname pro
    +vided, or not known