OK, I have applied the patch and retried my simple case. The good news is that the previous SCP test no longer stalls. The bad news is that the flow control does not work. Here is my test:
I setup a local forward to a remote SSH server (-L8022:localhost:22 sshHost). Then I SCP receive a large file (scp -P8022 localhost:largeFile.tar.bz2 .). During the transfer, I suspend the scp process with CTRL/Z. At this point I can not use the Session (this or any of my forwarded ports). When I resume/foreground the scp process (fg command), my session resumes working. - Scott On 1/25/2012 9:16 AM, Atsuhiko Yamanaka wrote: > I have modified the code. Please try the following patch for 0.1.46-rc2 > if you have the opportunity. > http://www.jcraft.com/jsch/jsch-0.1.46-rc2-flowcontrol.diff ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users