Hi,

   +-From: "Butcher, William non Unisys" <william.butc...@gb.unisys.com> --
   |_Date: Fri, 11 May 2012 17:46:57 +0100 ________________________________
   |
   |Many thanks for your reply this seems to have resolved the problem
   |with the sleeping issue, however now I get an intermittent issue with
   |the following error.
   |
   |Stack Trace:com.jcraft.jsch.JSchException: timeout in wating for rekeying 
process.
   |    at com.jcraft.jsch.Session.write(Session.java:1238)
   |    at com.jcraft.jsch.Session.send_newkeys(Session.java:652)
   |    at com.jcraft.jsch.Session.connect(Session.java:325)
   |    at com.jcraft.jsch.Session.connect(Session.java:160)
   ...
   |I'm not sure what rekeying is going on or how to extend the timeout.

sessoin.connect(timeout_in_milliseconds);

  |Do you have any suggestions on how to resolve this error.

I suggest to re-use the session as your original program had done.


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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to