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

        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 !
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development