when to display a banner

Iain Morgan imorgan at nas.nasa.gov
Sat Feb 14 09:14:09 EST 2009


On Fri, Feb 13, 2009 at 14:08:36 -0700, John Hardt wrote:
> On Fri, Feb 13, 2009 at 1:36 PM, Iain Morgan <imorgan at nas.nasa.gov> wrote:
> > On Fri, Feb 13, 2009 at 10:42:28 -0700, John C. Hardt wrote:
> >> i want to be able to suppress the banner from the client side
> >> (ssh/slogin/scp/sftp) but i don't see a way to do it cleanly.  for
> >> example, if there were a -B flag that suppressed the banner that would
> >> be alright.  i did try -q, but that suppresses all stderr, which is
> >> unacceptable since i do want to see the error output when ssh fails to
> >> know why it failed.  another idea would be to have -q suppress the
> >> banner and -qq suppress all warning and diagnostic messages but
> >> changing the behavior or an existing flag might be a bad idea.
> >
> > -oLogLevel=error
> 
> i tried that, and tried -oLogLevel=fatal, and the banner still displays.
>         -john

What client version are you using? For some versions the banner was only
suppressed for LogLevel=quiet, but LogLevel=error has done the right
thing with regards to the banner for dome time now.

-- 
Iain Morgan


More information about the openssh-unix-dev mailing list