MINA SSHD
  1. MINA SSHD
  2. SSHD-140

Add configurable session idle timeout.

    Details

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

      Description

      Add session idle timeout to ServerSession.

      Make configurable in SshServer by setting the property with key IDLE_TIMEOUT in milliseconds (i.e. sshServer.getProperties().put(SshServer.IDLE_TIMEOUT, idleTimeoutMs) ).

      Use a single timer on the server for all sessions by moving timer from ServerSession to SshServer.

      Will include a patch for consideration.

      1. sshd-140.patch
        13 kB
        Tien Luong

        Activity

        Hide
        Tien Luong added a comment -

        This patch adds the described changes.

        Show
        Tien Luong added a comment - This patch adds the described changes.
        Hide
        Guillaume Nodet added a comment -

        Author: gnodet
        Date: Tue Aug 30 10:28:49 2011
        New Revision: 1163164

        URL: http://svn.apache.org/viewvc?rev=1163164&view=rev
        Log:
        SSHD-140 Add configurable session idle timeout and use a single scheduler for all sessions

        Modified:
        mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java
        mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/common/AbstractFactoryManager.java
        mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/common/FactoryManager.java
        mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java
        mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java

        Show
        Guillaume Nodet added a comment - Author: gnodet Date: Tue Aug 30 10:28:49 2011 New Revision: 1163164 URL: http://svn.apache.org/viewvc?rev=1163164&view=rev Log: SSHD-140 Add configurable session idle timeout and use a single scheduler for all sessions Modified: mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/common/AbstractFactoryManager.java mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/common/FactoryManager.java mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Tien Luong
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development