OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT

Damien Miller djm at mindrot.org
Wed May 22 14:29:49 AEST 2024


On Tue, 21 May 2024, Opty wrote:

> Hello,
> 
> can anyone confirm that OpenSSH server doesn't log client disconnect
> without SSH_MSG_DISCONNECT?

OpenSSH logs the disconnection regardless of whether the client sends
SSH_MSG_DISCONNECT or just drops the connection.

A little more information may be logged from the disconnect packet
if it was sent, but there should always be a "Connection closed by ..."
message regardless.

-d


More information about the openssh-unix-dev mailing list