Hi, +-From: Erick Lichtas <elich...@linoma.com> -- |_Date: Thu, 3 Oct 2013 21:20:10 +0000 _______ ... |I have the following setting configured in my proftpd config as |recommended by the link below. |SFTPClientMatch ".*JSCH.*" channelWindowSize 1GB |https://forums.proftpd.org/smf/index.php?topic=3D4616.0
This is an off-topic, but we have found the reason why that config is required for ProFTPd. It seems, by the default, ProFTPd will choose 4GB for its channelWindowSize, and JSch's sftp channel will be stopped in uploading huge data to ProFTPd. We hope the following version will work well without such a config for ProFTPd. http://www.jcraft.com/jsch/jsch-0.1.51-rc7.zip We have planned to release that version as the next formal one. It has following changes, Changes since version 0.1.50: - bugfix: reproducibility of "verify: false". FIXED. Hundreds of thousands connections had caused that exception. - bugfix: resource leaks at the failure of making local port forwarding. FIXED. - bugfix: NPE in connecting to the non-standard TCP port. FIXED. This problem had appeared if a host-key does not exist in "known_host" file. - bugfix: TCP connection may not be dropped if error messages from the remote are too long. FIXED. - bugfix: SftpATTRS#getAtimeString() returns the wrong string. FIXED. - bugfix: bytes to be added by SSH_MSG_CHANNEL_WINDOW_ADJUST must be in unsigned integer. FIXED. - bugfix: Util.checkTilde() should not convert a tilde in "C:\PROGRA~1\". FIXED. - bugfix: A long long command for ChannelExec will cause an ArrayIndexOutOfBoundsException. FIXED. - bugfix: ChannelSftp should not send bulk request greedily even if the remote window has the enough space. FIXED. - bugfix: Util.createSocket() should throw an exception with 'cause'. FIXED. - bugfix: failed to parse .ssh/config in the EBCDIC environment. FIXED. - bugfix: com.jcraft.jsch.jcraft.HMACSHA1(used only for MacOSX) is not reusable. FIXED. - bugfix: NPE caused by the delayed response for channels. FIXED. - bugfix: hung-up in uploading huge data to ProFTPd without the config 'SFTPClientMatch "JSCH.*" channelWindowSize 1GB' FIXED. - change: com.jcraft.jsch.jcraft.HMAC* will not be used. It seems Java6 on Mac OS X has fixed some memory leak bug in JCE, so there is no reason to use c.j.j.jt.HMAC* introduced at 0.1.30. - change: updating copyright messages; 2013 -> 2014 - feature: added the support for private keys in PKCS#8 format. 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 ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users