Re: sshd issue: something to be aware if you upgrade from 12.3 to 12.4 (also on the 13 branch it seems)

From: Graham Perrin <grahamperrin_at_freebsd.org>
Date: Sat, 10 Dec 2022 17:29:39 UTC
On 10/12/2022 17:02, paul beard wrote:
> https://bugs.freebsd.org/bugzilla//show_bug.cgi?id=263489
>
> sshd needs an additional reboot after the upgrade, either 
> upgrading from source or a binary upgrade. You may be unable to log in 
> remotely otherwise.
>
> On the client side you will see
> |kex_exchange_identification: read: Connection reset by peer 
> Connection reset by x.x.x.x port 22 lost connection|
> /var/log/messages will be filled w fatal: recv_rexec_state: parse 
> config errors.
>
> service sshd restart resolves it if you can get console access.

Thanks, Paul.

12.4-specific 
<https://bugs.freebsd.org/bugzilla//show_bug.cgi?id=268199> is currently 
blocked by 263489.

The wording of 
<https://old.reddit.com/r/freebsd/comments/zdh7nm/-/izmonvh/> for 12.4 
borrows from the release note that appeared for 13.1. If I understand 
correctly: you can do without console access /if/ you have an ssh 
session in good time; the restart of sshd will not end the connection.