Bug 765 - openssh client truncates banner at 1024 characters.
Summary: openssh client truncates banner at 1024 characters.
Status: CLOSED DUPLICATE of bug 668
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: ix86 Linux
: P2 minor
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-01 00:48 AEDT by Shaun OLeary
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun OLeary 2003-12-01 00:48:12 AEDT
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.
 
***************************************************************************
Comment 1 Darren Tucker 2003-12-01 01:12:40 AEDT
Already fixed in -current:
   - dtucker@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 ***
Comment 2 Damien Miller 2004-04-14 12:24:20 AEST
Mass change of RESOLVED bugs to CLOSED