Help for this page

Select Code to Download


  1. or download this
    testOS: Use of uninitialized value $stdout in print at ssh.pl line 32.
    
  2. or download this
    testOS: Use of uninitialized value $stdout in print at ssh.pl line 32.
    testOS: channel 2: new [client-session]
    ...
    testOS: channel 2: close_write
    testOS: channel 2: send close
    testOS: channel 2: full closed
    
  3. or download this
    $cmd = `/bin/bash test.sh`;
    
  4. or download this
    system("/bin/bash test.sh") == 0
        or die "Bash Script failed";
    
  5. or download this
    #!/usr/bin/perl
    
    ...
    
    print $stdout;
    $ssh->cmd("exit");