Hi to all, I'm trying to remotely execute a command on a Linux shell using SSH. I'm using JSCH. But sometimes when I call the connect(int timeout) command it doesn't work, and sometimes seems that it blocks.
This is the code:
How can I develop an error-proof connection?
subject: Execute a command on a remote Shell using JSCH