Hi,

   +-From: Maximilien Renard <iixama...@gmail.com> --
   |_Date: Tue, 17 Apr 2012 11:53:08 +0200 __________
   |
   |First of all, thanks for the really quick answer.

   |I checked the version and the server we're using for the tests has
   |OpenSSH_4.7p1 and Ubuntu 8.04 LTS. I've tested on another server
   |with 5.1 and it did work.

FYI, older OpenSSH versions have the following line[1],

  session_set_fds(s, inout[1], inout[1], s->is_subsystem ? -1 : err[1]);

and if "if(s->is_subsystem){ close(err[1]); }" is insterted before it,
that resource leak problem will be fixed, I guess.

[1] for example, line number 474 of
    
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c?annotate=1.176


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

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to