[JSch-users] connection hanging on disconnect
Status: Alpha
Brought to you by:
ymnk
From: Jan S. <jan...@gm...> - 2004-06-08 15:58:08
|
any updates on http://sourceforge.net/mailarchive/forum.php?thread_id=3985957&forum_id=12628 ? It seems like the same problem as described in http://issues.apache.org/bugzilla/show_bug.cgi?id=26757 . I am encountering the same problem (WinXP / JDK 1.4.1_03-b02 connecting to SSH Secure Shell 3.2.3 (non-commercial version) on sparc-sun-solaris2.8). The ant <sqlexec> task hangs after the remote command is finished. Also, when I run the example java program from http://www.jcraft.com/jsch/examples/UserAuthPubKey.java I seem to have the same problem. The terminal session works fine and seems to finish when sending an 'exit' command (process on server is gone), but the java program itself does not finish until I hit ctrl-c. Any workarounds, hints, ideas? Do you need more information? Thanks, Jan |