I\'m writing Java GUI program for static route management using SSH. My code is as follows:
import com.jcraft.jsch.*; import java.io.*; public class Konsep
You can try by invoking the following method before invoking Session#connect().
Session#setServerAliveInterval(int milliseconds)
Although I found one more function Session#sendKeepAliveMsg() which can be tried.