I'm having problems executing commands with client.runcommand
some commands works and some others fails (this particular command was grep), heres is the log:
2011-12-12 12:42:39.851 DEBUG Ssh(1) Info: Received 16384 bytes of data.
2011-12-12 12:42:39.851 DEBUG Ssh(1) Info: Received 16384 bytes of data.
2011-12-12 12:42:39.851 DEBUG Ssh(1) Info: Received 16384 bytes of data.
2011-12-12 12:42:39.867 DEBUG Ssh(1) Info: Received 16384 bytes of data.
2011-12-12 12:42:39.867 ERROR Ssh(1) SSH: Rebex.Net.SshException: The channel has been closed.
at Rebex.Net.SshChannel.clmbOg(BBdsJfZ )
at Rebex.Net.SshChannel.bOrbyiZ()
at Rebex.Net.SshChannel.Receive(Byte[] buffer, Int32 offset, Int32 count)