Y
Yaneeve
I am using the com.sshtools.j2ssh.SshClient class in order to connect
to a remote machine. Once the remote machine is rebooted this class
does not recognize the fact that it is no longer connected (in other
words: isConnected() returns an answer of true) trying to disconnect
the connection at this stage (invocation of disconnect()) causes my
program to hang! Since this is a free and no longer supported library,
I fear that it is not I that am doing anything wrong but the ssh
library. Does anybody recognize this behavior? If so I would
appreciate a proposed solution. On the other hand I would even more
appreciate a recommendation for another (MORE STABLE) ssh/sftp library!
to a remote machine. Once the remote machine is rebooted this class
does not recognize the fact that it is no longer connected (in other
words: isConnected() returns an answer of true) trying to disconnect
the connection at this stage (invocation of disconnect()) causes my
program to hang! Since this is a free and no longer supported library,
I fear that it is not I that am doing anything wrong but the ssh
library. Does anybody recognize this behavior? If so I would
appreciate a proposed solution. On the other hand I would even more
appreciate a recommendation for another (MORE STABLE) ssh/sftp library!