To restrict concurrent connections in OpenSSH 3.8p1 - developed patch

Bhanu Prakash Adhikari bhanua at
Thu Jan 11 16:21:42 EST 2007

I have developed a module/an enhancement for SSHD on the top of OpenSSH 3.8p1 which restricts the max no. of allowed concurrent (authenticated/non-authenticated) connections from clients.
This restricts the cumulative sum of all the ssh activities.
The max no. of concurrent connections allowed is a configurable parameter.
In sshd_config,
            MaxConcurrentConns 5
This will limit the allowed connections to 5.
Would anybody be interested on the patch?
PS: I find the feature is not supported in current OpenSSH (atleast on 3.8p1 which is of my interest).
Thanks and rgds,
Bhanu Prakash Adhikari

The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.

More information about the openssh-unix-dev mailing list