Bug 1428 - Banner output can be a nuisance with non-interactive use
Summary: Banner output can be a nuisance with non-interactive use
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 4.3p2
Hardware: All All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-09 22:49 AEDT by rlhamil
Modified: 2008-04-04 10:02 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rlhamil 2008-01-09 22:49:44 AEDT
Wanted: option to turn off Banner output for non-interactive
(remote command) sessions.  A banner may make the lawyers happy,
but is far more likely to be seen by an actual human with
interactive than with non-interactive use.  ssh -q option can
suppress this of course, but also suppresses potentially helpful
diagnostics.  Non-interactive banner output considerably clutters
error logs, cron job output, etc.; and postprocessing error logs to
remove such garbage is tedious and error prone, since the banners
may contain almost anything, be changed, etc.

Despite the arguable uselessness of banner output for non-interactive
sessions, there may be places with lawyers anal enough to insist on it.
Therefore, I suggest that suppressing it in that instance should be
an option rather than a change to default behavior (when Banner is set).
Making this a server option rather than a client option leaves the
server in control of policy, and implies no changes to protocol.
Comment 1 Damien Miller 2008-01-20 06:30:44 AEDT
Setting "LogLevel error" will suppress the banner, but will still provide most of the diagnostics (certainly more than -q, which silences pretty much everything).

I don't think it warrants a microoption just to suppress the banner.
Comment 2 Damien Miller 2008-04-04 10:02:11 AEDT
Close resolved bugs after release.