Bug 1717

Summary: ssh should write its name when outputting messages
Product: Portable OpenSSH Reporter: Vincent Lefevre <vincent-openssh>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 5.3p1   
Hardware: Other   
OS: Linux   

Description Vincent Lefevre 2010-02-27 02:33:30 AEDT
ssh outputs messages to the terminal after other processes have been started on the server side. As ssh doesn't write its name and it isn't the only process, it may be difficult to know where messages like that come from.

For instance, I got 12 lines

X11 connection rejected because of wrong authentication.

after the prompt, while I wasn't using the remote machine. The ssh binary contains such a message, so that I suppose it comes from it (however I'm not sure as sshd contains it too). So, one should have:

ssh: X11 connection rejected because of wrong authentication.

or

sshd: X11 connection rejected because of wrong authentication.

if this comes from sshd.