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: "/ / \ \"
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.