Hi,

Thank you for your interesting feedback,

   +-From: "B. Scott Smith" <sc...@smithdomain.com> --
   |_Date: Thu, 19 May 2011 12:12:18 -0500 ___________
   |
   |After investigating this issue, I discovered that the performance was 
   |good with the native SSH client because it was allocating  a pseudo 
   |terminal (pty) to display the remote command shell. When I instructed 
   |the SSH client NOT to allocate a pty (ssh -N -R5900:localhost:5900 ...), 
   |I was able to duplicate the same poor performance I saw with JSch. 
   |Apparently, if there is no pty assigned to the remote session, the SSH 
   |server will buffer and "chunk" the data over all reverse forwards on 
   |that session. 

Is it needed to keep running pty during remote port forwarding session or
is it enough to establish and disconnect pty before requesting port forwarding?
If the later is enough, how about
 ChannelExec#setPty(true) 
with simple remote command?


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

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to