MINA SSHD
  1. MINA SSHD
  2. SSHD-95

Allow a fixed number of concurrent connections for a single user

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Labels:
      None

      Description

      Add a server setting to limit the number of concurrent sessions a given username is permitted to have to the SSH server. If no value is set, there is no limit on concurrent user sessions.

        Activity

        Hide
        Matthew Schulze added a comment -

        Patch for SSH server to implement the feature.

        Show
        Matthew Schulze added a comment - Patch for SSH server to implement the feature.
        Hide
        Guillaume Nodet added a comment -

        Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ...
        M sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java
        M sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java
        Committed r1030199

        Thx for the patch Matthew. I slightly modified it to not include the method on the ServerFactoryManager because this interface is really a configuration interface while the method was a runtime information, so I moved it down to ServerSession. Let me know if this causes a problem anyhow.

        Show
        Guillaume Nodet added a comment - Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ... M sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java M sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java Committed r1030199 Thx for the patch Matthew. I slightly modified it to not include the method on the ServerFactoryManager because this interface is really a configuration interface while the method was a runtime information, so I moved it down to ServerSession. Let me know if this causes a problem anyhow.

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Matthew Schulze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development