I have just started using the Jsch library for SFTP.
When I try to run the Sftp example, I get JSchException at the line :
The cause of this Exception is java.net.ConnectException : "Connection timed out".
How can I resolve this problem and what is the safe timeout value I can give using :
session.setTimeout() before calling session.connect().
I would appreciate any help in this regard.  Thanks in advance.

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software