[
https://issues.apache.org/jira/browse/KARAF-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13972200#comment-13972200
]
Jonathan Anstey commented on KARAF-2918:
----------------------------------------
Committed change to master:
To https://git-wip-us.apache.org/repos/asf/karaf.git
40ae90f..ebbc108 master -> master
Now, when a user sets the custom banner in etc/org.apache.karaf.shell.cfg as so:
{code}
welcomeBanner = \
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ \n\
Hello and welcome to my foobar server. What you may and may not do: \n\
1. blah blah blah \n\
2. yadda yadda \n\
... \n\
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n
{code}
When logging in via ssh you see:
{code}
[janstey@bender apache-karaf-4.0.0-SNAPSHOT]$ ssh -p 8101 karaf@localhost
Password authentication
Password:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Hello and welcome to my foobar server. What you may and may not do:
1. blah blah blah
2. yadda yadda
...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (4.0.0-SNAPSHOT)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown Karaf.
Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.
karaf@root()>
{code}
> Provide ability to set a banner prior to user login via ssh
> -----------------------------------------------------------
>
> Key: KARAF-2918
> URL: https://issues.apache.org/jira/browse/KARAF-2918
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.4.0, 4.0.0, 3.0.2
> Reporter: Jonathan Anstey
> Assignee: Jonathan Anstey
>
> Mina SSHD already provides this feature, we just need to enable it in Karaf.
--
This message was sent by Atlassian JIRA
(v6.2#6252)