R
R
rvller2011-02-10 14:42:01
Java
rvller, 2011-02-10 14:42:01

Problem with Ganymed SSH-2

I use this library ( Ganymed SSH-2 ) to execute commands on a remote build server to start the build. After running the build script, I read the logs from stdErr and stdOut.

The problem is that the build stops without errors, just in the middle of the log line near the end (the process is long and the log is ~ 10 thousand lines), perhaps due to the inability to write to output. At the same time, the SSH connection remains open (i.e., it does not fall due to a disconnect).
On their site I got acquainted with the faq, the methods described there for reading logs from the stream tried everything.

Maybe someone used this library and met with something similar?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question