Hi,
+-From: Bubba Meetze <[EMAIL PROTECTED]> -------
|_Date: Wed, 16 Jan 2008 15:39:01 -0800 (PST) __
|
|So I had a version of my own SSHExec util that uses
|the session.setTimeout method to set the timeout for
|the SSHExec session/command which from back in the
|0.1.28 version appeared to work as I expected.
Unfortunately, It was not expected behavior.
Session#setTimeout(int timeout) will enable the timeout
detection for the ssh connection. So, to reproduce the timeout,
try to unplug the LAN cable, for example.
On the other hand, you are expecting the timeout for the
InputStream from a channel.
It is possible to implement such an InputStream by yourself, isn't it?
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
Fax +81-22-224-8773
Skype callto://jcraft/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users