hi, i'm using Jsch to open a reverse port forward. i'm seeing that the session dies after some time. some questions,
1. i'd like to do everything i can to keep the session up until i explicitly close it. i tried calling session.setServerAliveInterval(2000), but it did not appear to have an effect. i have "TCPKeepAlive yes" set in my sshd_config. am i missing something? p.s., is the arg there milliseconds or seconds? 2. if the session does die, i'd like to be notified. as it stands, i just call session.setPortForwarding(...), which returns. is there a way to set up a callback when / if the session goes down? 3. is there a place where i can find javadocs,i found this, http://www.docjar.org/docs/api/com/jcraft/jsch/package-index.html but this has no documentation, just the list of classes, etc. thanks!
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
