Invoking Read(Byte[], Int32, Int32) on SshCommand*'s OutputStream or ExtendedOutputStream should blocking until either data is available, or the channel is closed (in which case zero should be returned).
We should strongly consider applying breaking changes to the SshCommand API as well:
- Change signature of
public string Execute() to public void Execute().
- Have ExitCode throw when we have not received an ExitStatusRequestInfo.
- Remove the Result property (users should use OutputStream instead).
- Remove the Error property (users should use ExtendedOutputStream instead).