OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT

Damien Miller djm at mindrot.org
Fri May 24 08:07:24 AEST 2024


On Thu, 23 May 2024, Opty wrote:

> On Thu, May 23, 2024 at 1:24 AM Damien Miller <djm at mindrot.org> wrote:
> > On Wed, 22 May 2024, Opty wrote:
> > > [...]
> > >
> > > Neither 'Received disconnect' nor 'Disconnected' with PuTTY.
> >
> > Could you run sshd in debug mode and capture a full trace?
> 
> Attached.

This includes the message:

> Connection closed by 127.0.0.1 port 55157

This is logged by sshd at syslog(3) level LOG_INFO. It's possible
something in your system logging configuration is dropping this
message.

-d


More information about the openssh-unix-dev mailing list