[Bug 264600] openssh: sshd spamming logs: error: Fssh_kex_exchange_identification: Connection closed by remote host

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 Oct 2022 04:35:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264600

Jose Luis Duran <jlduran@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|Open                        |Closed

--- Comment #17 from Jose Luis Duran <jlduran@gmail.com> ---
I guess I will close this one as not a bug.

This was a deliberate change in OpenSSH
(https://github.com/openssh/openssh-portable/commit/5becbec023f2037394987f85ed7f74b9a28699e0
and a few other commits).

Let's use the non-portable version (OpenBSD 7.2, OpenSSH 9.1):

Edit /etc/syslog.conf and uncomment the line:

    *.err;auth.notice;authpriv.none;kern.debug;mail.crit        /dev/console

As the comment says: "be aware that this could create lots of output".

At this point it will exhibit the same behavior.

FreeBSD ships with this line uncommented, that's why it is more perceptible.

-- 
You are receiving this mail because:
You are the assignee for the bug.