Bug 540317 - OpenSSH-server banner displayed incorrectly
Summary: OpenSSH-server banner displayed incorrectly
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan F. Chadima
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-23 02:17 UTC by Konstantin
Modified: 2009-11-23 07:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-23 07:39:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Konstantin 2009-11-23 02:17:28 UTC
Description of problem:
Backslashes in banner file are doubled when displayed by SSHD.

Version-Release number of selected component (if applicable):
openssh-server-5.2p1-31.fc12.i686

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 07:39:27 UTC
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.