lgoldstein commented on issue #103: [1.1.x]question about use mina-sshd as ssh-client and send shell command URL: https://github.com/apache/mina-sshd/pull/103#issuecomment-500938308 I am not sure what kind of examples I could provide - however in the above example * Replace `new NoCloseInputStream(System.in)/new NoCloseOutputStream(System.out)/new NoCloseOutputStream(System.err)` with some other input/output streams that you control * Spawn relevant **threads** to read/write from them (each according to its data "direction"). I agree it is not a simple matter - especially how to coordinate the command and its result - i.e., how to issue a command and then parse **all** its output (including any errors) while using multiple threads. Way beyond the capabilities of this discussion....
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org