in reply to Re^4: Net SSH problems
in thread Net SSH problems

So if this was the answer I would have to say thats a design fault

I get the same. For a simplistic workaround, instead of
$chan->write("$intext\n"); $chan->send_eof();
do
while (length $intext > 32767) { $chan->write(substr($intext, 0, 32768, '')); } $chan->write("$intext\n"); $chan->send_eof();
Doing that, I then get:
ssh created ssh connected cmd is wc intext length is 100000 1 1 100001 remote exit status is 0 bytes returned is 24 bytes
Cheers,
Rob