Hi, I am using your library Apache Mina "sshd-core" in my Java Maven project. I need to execute a command on my connected server that can supply text to stdout over a period of time. Unfortunately I neither could find examples nor understand documentation to do what I want. I found, however, that you have an abstract class - "AsyncCapableClientChannel", but I did not understand how to use it. What extends that abstract class?
So, the scenario can be like this: I set up a client, session and channel for my server over SSH. I execute a command and I wait for responses. The command can return several outputs, or nothing, but when it returns a value the command itself does not terminate. My Java app needs to wait for any output from the command in the stdout. If it receives anything, it needs to assign that value to some local variable and close all SSH related instances. However, if execution of the command did not return anything, then the app again closes everything and throws some runtime error I appreciate your help -- Terveisin / Med vänlig hälsning / Best regards, Alisher Aliev
