Details
-
New Feature
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
0.8.0
-
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");