I realize that this limit would only be applicable to the running java client process and cannot guarentee that we do not exceed MaxStartups. However, it will significantly reduce the chances that we encounter such an error. The only sure way to avoid this problem is changing the server-side sshd_config, which is not an option for me.
The reason we want to implement this inside JSCH (opposed to implementing within our applications using JSCH) is to enable ANT to utilize this feature. We have several applications which utilize JSCH written in ANT. We have been unable to reliablely implement such a limit in ANT. Thanks, Keith On Wed, Feb 4, 2009 at 4:10 PM, Atsuhiko Yamanaka <[email protected]> wrote: > Hi, > > +-From: Keith Richardson <[email protected]> -- > |_Date: Wed, 4 Feb 2009 14:04:30 +0200 ___________ > | > |We are considering several options, most of which are not relevant to > |the list. The one I would like to discuss with you is updating the > |JSCH source code. We would like to add an additional feature which > |tracks unauthenticated connections and blocks once it reaches a > |certain number. By default, the feature could be disabled. It could > |be activated and configured via system properties (i.e. > |-Djsch.tracking=enabled -Djsch.max.unauthenticated.connections=10 ) > > MaxStartups is the concept in the sshd server side. > So, even if it is implemented in jsch, > it will not be functional if other persons run the same code from other hosts > to the same destination host. > > Anyway, you can implement such a functionality in your application > and wrap jsch with it, can't you? > > > 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 > Fax +81-22-224-8773 > Skype callto://jcraft/ > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
