Help for this page

Select Code to Download


  1. or download this
    $ssh = Net::OpenSSH->new($host_ip, user => $user, password => $passwor
    +d, master_opts => '-vv');
    
  2. or download this
    my @output = $ssh->capture($_);
    if ($ssh->error) {
    ...
    else {
      print @output, "\n";
    }