Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF36110043 for ; Thu, 17 Apr 2014 01:33:19 +0000 (UTC) Received: (qmail 46544 invoked by uid 500); 17 Apr 2014 01:33:15 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 46478 invoked by uid 500); 17 Apr 2014 01:33:15 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 46457 invoked by uid 99); 17 Apr 2014 01:33:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 01:33:14 +0000 Date: Thu, 17 Apr 2014 01:33:14 +0000 (UTC) From: "Jonathan Anstey (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-2918) Provide ability to set a banner prior to user login via ssh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 '' for a list of available commands and '[cmd] --help' for help on a specific command. Hit 'system:shutdown' to shutdown Karaf. Hit '' 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)