Bug 1717 - ssh should write its name when outputting messages
Summary: ssh should write its name when outputting messages
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 5.3p1
Hardware: Other Linux
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-27 02:33 AEDT by Vincent Lefevre
Modified: 2010-02-27 02:33 AEDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.