Hi There is a FAQ at Trilead ( http://www.trilead.com/Products/Trilead-SSH-2-Java/FAQ/ ). Which talks about the need to read STDOUT and STDERR simultaneously, else one of them (STDERR, usually) will cause the session to hang. I will not repeat the details here. The problem seems to affect the session when there is a large quantity of outputs on stderr
They have implemented a StreamGobbler class which consumed returned bytes from remote system STDOUT and STDERR. I would like to know whether JSCH also faces such issues and what is the implemented or planned solution. Regards Anand PS: Trilead java-ssh is enhanced Ganymede java-ssh code. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
