[Bug 2648] New: allow max connections config

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Dec 22 16:21:28 AEDT 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2648

            Bug ID: 2648
           Summary: allow max connections config
           Product: Portable OpenSSH
           Version: 7.4p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: DarkTrick at outlook.de

Current situation:
------------------
Currently one can not configure, that for example only 2 connections at
the should be allowed through ssh. If one want to set this restriction,
a OS wide restriction or script-trickery is needed 


Suggestion:
------------
Add new Config-options for:
- maximum allowed connections to the server
- maximum allowed connections to the server with a specified username



Example:
----------
maxConnectionsAllowedToServer: 3
maxConnectionsAllowedToServerWithUsername: root,2,guest,5

- outcome: a total number of 3 connections are allowed
- although 5 guest connections are set, the superior global value of 3
restricts that value


Reason for this Request:
-------------------------
Security. 
E.g: One could ensure, that only he is logged in on his server via ssh.
(without changing system restrictions for max-login number)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list