Help for this page

Select Code to Download


  1. or download this
    my $ssh;
    foreach (1..3) {
    ...
    }
    die "Could not connect to remote host '$host'\n" if not $ssh;
    my $login_output = $ssh->login;
    
  2. or download this
    $ssh->exec("stty raw -echo");
    my $resp_uname = $ssh->exec('uname'); #This is line 779