Bug 2242 - add DisableBanner option to the ssh client command
Summary: add DisableBanner option to the ssh client command
Status: CLOSED WONTFIX
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 6.6p1
Hardware: SPARC Solaris
: P3 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-30 09:38 AEST by huieying.lee
Modified: 2021-04-23 15:10 AEST (History)
1 user (show)

See Also:


Attachments
code changes for the disablebanner option (5.13 KB, application/octet-stream)
2014-05-30 09:38 AEST, huieying.lee
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description huieying.lee 2014-05-30 09:38:52 AEST
Created attachment 2437 [details]
code changes for the disablebanner option

In the client part of section 5.4 (Banner message) in RFE 4252 (SSH 
authentication Protocol), it states that 

  "By Default, the client Should display the 'message" on the screen. 
  However, since the 'message' is likely to be sent for every login
  attempt, and sinced some client software will need to open a separate
  window for this warning, the client software may allow the user to
  explicitly disable the display of banners from the server."

Currently, this client part of the implementation does not exist in the
OpenSSH code.  We have implemented a client's DisableBanner feature for 
Solaris and would like to contribute back our implementation.   

    DisableBanner
        If set to yes, disables  the  display  of  the   banner
        message.   If set to in-exec-mode, disables the display
        of banner message when in remote command mode only.

        The default value is no, which means that the banner is
        displayed  unless  the  log level  is  QUIET, FATAL, or
        ERROR. See also the Banner  option  in  sshd_config(8).
        This option applies to protocol version 2 only.

Attached is our implementation patch, which was applied to OpenSSH6.5p1.
Comment 1 Damien Miller 2014-05-31 12:43:06 AEST
LogLevel=quiet doesn't show the banner. I don't think we need a separate option for it.
Comment 2 Damien Miller 2014-07-03 12:29:45 AEST
We're not interested in adding another option for this.
Comment 3 huieying.lee 2014-07-08 03:54:20 AEST
Thank you for the evaluation.
Comment 4 Damien Miller 2021-04-23 15:10:59 AEST
closing resolved bugs as of 8.6p1 release