Hi, +-From: "B. Scott Smith" <sc...@smithdomain.com> -- |_Date: Thu, 26 Jan 2012 17:00:23 -0600 ___________ | |I was running the test on Sun's JRE, version 1.6.0_29, on Windows |7. But I just tried the same test on Sun's JDK, version 1.6.0_20, |on CentOS 5.7 and got the same result. |I have attached the code I am using for this test. It's a simple |command-line wrapper to JSch that allows me to run simple |tests. The command-line syntax is similar to the native ssh |client. Unzip it directly into the project directory (it will |create a jsch directory at the same level as src). Run the makejar |script and then you can run "jsch" similar to ssh. So, in my test, |in a terminal window I do:
|jsch -L8022:localhost:22 /sshHost/ |Then in another terminal window I do: scp -P8022 |localhost:largeFile.tar.gz . While the file is transferring, I am |able to utilize the remote command prompt obtained from the "jsch" |command. As soon as I suspend the file transfer, I can no longer |use the remote shell. Nor can I ssh into the forwarded port on |8022. The instant I resume the scp command, everything starts |working again. Thanks a lot! I'll try it in this weekend. 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 before you buy = See our experts in action! 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-dev2 _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users