Bug 540317 - OpenSSH-server banner displayed incorrectly
OpenSSH-server banner displayed incorrectly
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Jan F. Chadima
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-11-22 21:17 EST by Konstantin
Modified: 2009-11-23 02:39 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-11-23 02:39:27 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Konstantin 2009-11-22 21:17:28 EST
Description of problem:
Backslashes in banner file are doubled when displayed by SSHD.

Version-Release number of selected component (if applicable):

How reproducible:
Create banner file containing this text: "/ / \ \".
Configure SSHD to use prepared banner.

Steps to Reproduce:
1. Start SSHD.
2. Connect to the server.
3. Enter user name. Check the banner.
Actual results:
Backslashed are doubled:
"/ / \\ \\"

Expected results:
Single backslashes:
"/ / \ \"
Comment 1 Tomas Mraz 2009-11-23 02:39:27 EST
The banner messages are escaped not by SSHD but by the ssh client so a rogue server can not send terminal escapes to the client's terminal.

Note You need to log in before you can comment on or make changes to this bug.