Hi,

Sorry for my long long delay.

On Mon, Jul 6, 2015 at 5:58 PM, Alexander Koshevoy
<alexander.koshe...@jetbrains.com> wrote:
> We are using JSch library 0.1.52 and have a difficulty dealing with
> timeout on establishing connection. The problem is that after a user
> answers prompt dialog "The authenticity of host '***' can't be
> established. RSA key fingerprint is ***. Are you sure you want to
> continue connecting?" JSchException with "timeout in wating for rekeying
> process." message is thrown by JSch Session (under some circumstances):
...
> It seems that timeout value passed to Session#connect(int) method
> applies both to user answer time from UI and server interaction time.
> Might it be justly if user interaction had been excluded from timeout value?

Here is a patch to exclude user interaction time from timeout value.


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk

Attachment: diff
Description: Binary data

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to