Re: [JSch-users] Reverse forward to unavailable service hangs connecting client
Status: Alpha
Brought to you by:
ymnk
From: B. S. S. <sc...@sm...> - 2007-01-18 02:02:35
|
Atsuhiko Yamanaka wrote: > I hope that I have understood this problem. > Usually, after instantiating that class, its "init()" method must be invoked, > but in your case, that method have thrown an exception by some problems > and "connected=true" has not be executed. Is my guess correct? > Yes, that is correct. The exception thrown is: java.net.ConnectException: Connection refused: connect because the service wasn't running at the time. So, the connected flag never gets set, so the SSH_MSG_CHANNEL_CLOSE never gets sent back to the sshd. |