Hi,

   +-From: Duncan McGregor <[email protected]> --
   |_Date: Thu, 7 Oct 2010 11:55:13 +0100 ___________
   |
   |On my current project I want to use the ability to make an ssh
   |connection to tell me when a server has booted. So I want to block
   |until a connection is established, but let the user cancel.
   |In order to achieve this I sit in a loop with a relatively quick timeout.
   ...

You can implement com.jcraft.jsch.SocketFactory by yourself,
and it will be better to set it to Session#setSocketFactory.


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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to