That's usually done after authentication when the shell is created,
and the shell should be responsible for that.
That's how it works in unix.  We've done that in Karaf using the same mechanism.

Usually, you'd write your own Factory<Command> for your shell, and in
the shell start method, you can easily grab the output stream and
write anything you want to it.

On Wed, Jun 13, 2012 at 1:29 PM,  <[email protected]> wrote:
> Hi,
>
> I want the ability to display a Welcome/Login banner with Mina SSHd. I think 
> I could do it in the IoHandler::sessionCreated(IoSession session) method.
>
> But this would be displayed after the user has logged in successfully.
>
> Is there a better way to achive this? Does anyone know how I might be able to 
> do it even before a authentication is attempted.
>
> Thanks
> Farooq



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

Reply via email to