MINA SSHD
  1. MINA SSHD
  2. SSHD-195

Display a Welcome Banner after a user connects

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Labels:
      None

      Description

      When a user connects, sometimes a welcome banner is required to let the user know the site that they've connected to and what the rules of the site are.
      This patch allows a banner to be set in the code after an SshServer has been instantiated:
      SshServer sshd = SshServer.setUpDefaultServer();
      sshd.getProperties().put(SshServer.WELCOME_BANNER, "This is the Banner");

      1. patch.txt
        2 kB
        Paul Szczesniak

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        89d 1h 53m 1 Guillaume Nodet 07/Jan/13 16:07
        Guillaume Nodet made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Guillaume Nodet [ gnt ]
        Resolution Fixed [ 1 ]
        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 r1429867

        Thx a lot for this patch !

        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 r1429867 Thx a lot for this patch !
        Paul Szczesniak made changes -
        Description When a user connects, sometimes a welcome banner is required to let the user know the site that they've connected to and what the rules of the site are. When a user connects, sometimes a welcome banner is required to let the user know the site that they've connected to and what the rules of the site are.
        This patch allows a banner to be set in the code after an SshServer has been instantiated:
        SshServer sshd = SshServer.setUpDefaultServer();
        sshd.getProperties().put(SshServer.WELCOME_BANNER, "This is the Banner");
        Paul Szczesniak made changes -
        Field Original Value New Value
        Attachment patch.txt [ 12548569 ]
        Hide
        Paul Szczesniak added a comment -

        The patch for adding a welcome banner.

        Show
        Paul Szczesniak added a comment - The patch for adding a welcome banner.
        Paul Szczesniak created issue -

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Paul Szczesniak
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development