If you need to process raw input stream bytes, you can use the approach described in the following forum post:
In your scenario, you don't need to execute an external, but the with using e.Action
in ShellCommand
event handler along with grabbing the raw input/output streams using SshConsole.GetInputStream()
and SshConsole.GetOutputStream()
would be suitable as well.