Hi,

I have a web application and in that application I use the jsch API's to 
connect to  a remote host and execute some scripts. On some faulty hosts the 
ssh daemon the target does not respond and as result of which my application 
hangs.

When I do a netstat on the host where the web application runs, I see the tcp 
connection is still active.

tcp        0      0 host1 ssh host2:19823 ESTABLISHED 18830/sshd: user1  

Questions.
i. Is there a way to terminate this TCP connection without terminating my web 
application ?
ii. Is there a reliable way to detect these fault hosts which accept the 
connection but does not respond ?

thanks,
Prakash

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to