in reply to Re: Writing to an SSH channel
in thread Writing to an SSH channel

I managed to fix the problem. As I pondered it over dinner, I thought about the mysterious send_eof() and it did the trick: now the program works just fine. A $chan->send_eof() and it all seems to work..

Replies are listed 'Best First'.
Re^3: Writing to an SSH channel
by Marshall (Canon) on Sep 19, 2018 at 00:16 UTC
    Sounds like "You may also need some kind of a flush to get the write to happen." Worked by sending eof! FANTASTIC!