bugzilla-daemon at mindrot.org
2003-Dec-01 07:48 UTC
[Bug 765] openssh client truncates banner at 1024 characters.
http://bugzilla.mindrot.org/show_bug.cgi?id=765
Summary: openssh client truncates banner at 1024 characters.
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: ssh
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: shaun at pnl.gov
It looks like the current version of the openssh client is truncating the
banner to 1024 characters. This was not the case with 3.5p1 and earlier. The
openssh server does present banners larger than 1024 characters- this looks
like a ssh client problem. (I don't see the problem when I use older openssh
clients from the same initiating computers)
Unfortunately, the department of energy banner that I'm mandated to use is
just
a couple of hundred characters longer.
Below is our standard banner from /etc/issue.
Regards,
Shaun O'Leary
---begin banner:
***************************************************************************
NOTICE TO USERS
This is a Federal computer system and is the property of the United
States Government. It is for authorized use only. Users (authorized or
unauthorized) have no explicit or implicit expectation of privacy.
Any or all uses of this system and all files on this system may be
intercepted, monitored, recorded, copied, audited, inspected, and disclosed
to authorized site, Department of Energy, and law enforcement personnel,
as well as authorized officials of other agencies, both domestic and
foreign. By using this system, the user consents to such interception,
monitoring, recording, copying, auditing, inspection, and disclosure at the
discretion of authorized site or Department of Energy personnel.
Unauthorized or improper use of this system may result in administrative
disciplinary action and civil and criminal penalties. By continuing to use
this system you indicate your awareness of and consent to these terms and
conditions of use.
By logging on to this system you agree to the above terms and conditions.
***************************************************************************
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-01 08:12 UTC
[Bug 765] openssh client truncates banner at 1024 characters.
http://bugzilla.mindrot.org/show_bug.cgi?id=765
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From dtucker at zip.com.au 2003-12-01 01:12 -------
Already fixed in -current:
- dtucker at cvs.openbsd.org 2003/10/07 01:47:27
[sshconnect2.c]
Don't use logit for banner, since it truncates to MSGBUFSIZ; bz #668
&
#707. ok markus@
If you need a fix now use patch attachment id #421 for bug #668.
*** This bug has been marked as a duplicate of 668 ***
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Possibly Parallel Threads
- [Bug 668] ssh truncates long banner message
- [Bug 1221] Banner only suppressed at log level = QUIET (used to be at log level < INFO)
- OpenSSH banner doesnot display multibyte characters like korean
- when to display a banner
- [Bug 225] New: Supression of login warning banner for noninteractive commands