Hi,
+-From: "B. Scott Smith" <[email protected]> --
|_Date: Wed, 01 Jun 2011 13:41:38 -0500 ___________
...
|Based on your suggestion, I added the following code:
| // HACK! This is to cause the SSHD not to buffer data for better
|performance
| com.jcraft.jsch.ChannelExec hackChannel = (
|com.jcraft.jsch.ChannelExec ) dataSession.getSession( ).openChannel(
|"exec" );
| hackChannel.setPty( true ); // Assign a Pseudo TTY to our Session
|to improve latency for small packets from SSHD
| hackChannel.connect( );
| hackChannel.disconnect( );
|After this code executes, any reverse forwards over this Session are
|high performance (no latency).
|I am also worried about a timing issue by disconnecting the ChannelExec
|immediately after connecting in a high-volume scenario.
|What do you think?
This is an off-topic thing, but is that hack also effective for
the local port forwarding, or is there no poor VNC performance phenomena over
local port forwarding?
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
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users