I have stability problems using jsch 0.1.44 via Apache Camel's camel-ftp component. We poll remote sftp servers once a minute around the clock. Every now and then the session freezes and the polling stops. I will try to upgrade the Jsch version but I've also read about "setServerAliveInterval". It seems like Camel now supports this property. In addition, there also seems to be a "serverAliveCountMax" property.

Can someone explain to me what these properties do? Can they be used to "wake up" an sftp connection that is frozen and thus increase the stability of sftp polling?

/Bengt