Help for this page

Select Code to Download


  1. or download this
    $chan->write("$intext\n");
    $chan->send_eof();
    
  2. or download this
    while (length $intext > 32767) {
      $chan->write(substr($intext, 0, 32768, ''));
    }
    $chan->write("$intext\n");
    $chan->send_eof();
    
  3. or download this
    ssh created
    ssh connected
    ...
    intext length is 100000
          1       1  100001
    remote exit status is 0 bytes returned is 24 bytes