when to display a banner
John Hardt
jquest07 at gmail.com
Sat Feb 14 09:41:55 EST 2009
On Fri, Feb 13, 2009 at 3:14 PM, Iain Morgan <imorgan at nas.nasa.gov> wrote:
> 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.
i didn't realize i was using the openssh-4.6p1 client when trying this
since i had both versions around while we move to the new version.
when i tried openssh-5.1p1, it worked as you say, and problem solved.
thanks for your help!
-john
More information about the openssh-unix-dev
mailing list