OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT

Opty opty77 at gmail.com
Thu May 30 04:22:35 AEST 2024


On Mon, May 27, 2024 at 4:18 AM Damien Miller <djm at mindrot.org> wrote:
> Yeah, you're adding a new thing that will be logged. IMO you should
> try to figure out why the "Connection closed" message that is present
> in the debug log you sent is not making to to your syslog.

If I change LogLevel in /etc/ssh/sshd_config from default INFO to
VERBOSE then I see 'Connection closed' message but also others which I
don't want.

I also tried 'LogVerbose packet.c:sshpkt_vfatal():*' and even
'LogVerbose *:sshpkt_vfatal():*' (both with 'LogLevel INFO') but none
worked.

Regards,
Opty


More information about the openssh-unix-dev mailing list