Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
    $ssh->error and warn "Operation did not work: " . $ssh->error;
    print "Output is: \n";
    print $test;
    
  2. or download this
    Keyboard-interactive authentication
    Sending a command
    channel_by_id: 0: bad id: channel free
    channel_input_status_confirm: 0: unknown
    Operation did not work: child exited with code 255 at ./ex_ssh.pl line
    + 12.
    Output is: