You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2013/01/07 17:08:12 UTC

[jira] [Resolved] (SSHD-195) Display a Welcome Banner after a user connects

     [ https://issues.apache.org/jira/browse/SSHD-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SSHD-195.
----------------------------------

    Resolution: Fixed
      Assignee: Guillaume Nodet

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 !
                
> Display a Welcome Banner after a user connects
> ----------------------------------------------
>
>                 Key: SSHD-195
>                 URL: https://issues.apache.org/jira/browse/SSHD-195
>             Project: MINA SSHD
>          Issue Type: New Feature
>    Affects Versions: 0.8.0
>            Reporter: Paul Szczesniak
>            Assignee: Guillaume Nodet
>            Priority: Trivial
>             Fix For: 0.9.0
>
>         Attachments: patch.txt
>
>
> 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");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira