in reply to Re^2: channel SSH2
in thread channel SSH2

You are more of a network expert than me, can you explain why it is unreliable? The shell method works for me.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^4: channel SSH2
by salva (Canon) on May 23, 2012 at 14:29 UTC
    try running slow commands, for instance...
    for $i in 1 2 3 4; do sleep 1; echo $i; done
    You need a way to find out where the output of some command ends. You can look for the shell prompt, or make your commands print their output encoded in some format (for instance MIME-encoded), but in any case, it is a hassle.