connnection hangs during SSH2Transport.boot() call

Mark Offutt Mark.Offutt at Sun.COM
Wed Apr 26 01:17:37 MEST 2006


I'm using mindterm version 2.2, but the issue still occurs with 3.0.1. 
I've looked through the archives but didn't find anything conclusive.

There are a number of situations such as incorrect port setting, 
firewall settings etc... that cause the boot phase of SSH2 to hang 
indefinitely. Here is the thread dump:

"Provisioner" daemon prio=5 tid=0x00548708 nid=0x60 runnable 
[6f401000..6f4019c0]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at com.mindbright.ssh2.SSH2Transport.readIdString(SSH2Transport.java:1078)
at 
com.mindbright.ssh2.SSH2Transport.negotiateVersion(SSH2Transport.java:893)
at com.mindbright.ssh2.SSH2Transport.boot(SSH2Transport.java:339

Can anyone explain why we may get into this situation? Is there any way 
to configure the SSH connection to drop after a specified amount of time?

thanks for any input,

Mark


More information about the Mindterm-users mailing list