in reply to Re^4: Net SSH problems
in thread Net SSH problems
do$chan->write("$intext\n"); $chan->send_eof();
Doing that, I then get:while (length $intext > 32767) { $chan->write(substr($intext, 0, 32768, '')); } $chan->write("$intext\n"); $chan->send_eof();
Cheers,ssh created ssh connected cmd is wc intext length is 100000 1 1 100001 remote exit status is 0 bytes returned is 24 bytes
|
|---|