Hi, +-From: Lars Merke <larsme...@gmail.com> -- |_Date: Thu, 25 Apr 2013 07:17:25 +0200 ___ |
|Sorry for the long delay, I was on vacation. |The new version is working for portforwarding. Unfortunately I am using the |ChannelDirectTCPIP class directly from another package and I am not able to |control the timeout value that way. Can you add a public method to set the |timeout value for Channel objects? Ok, so ChannelDirectTCPIP#connect(int timeout) has been functional, and also Session#getStreamForwarder(String host, int port) has been added; ... Channel channel = session.getStreamForwarder(host, port) InputStream in = channel.getInputStream(); OutputStream out = channel.getOutputStream(); channel.connect(1000) ... Please try http://www.jcraft.com/jsch/jsch-0.1.50-rc5.zip , and refer to its ChangeLog. 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 ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users