From nobody Sat Dec 10 17:29:39 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NTvys0T73z4jl0s for ; Sat, 10 Dec 2022 17:29:41 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NTvyr6y7Zz3G4x for ; Sat, 10 Dec 2022 17:29:40 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670693381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rar+dnFirhFJdF2In3E9REFboABRR0Ndk955iPCOv+o=; b=xDT3GrzP6fwMRwOq6J9XJFjDONtZe9wtKDfG4GcMwAwuAEgmi7ULZl7pLfRhneoK4hp0QJ z7sNjPq14xaewmeFz7GQ2S0uT1/HC9PbZOxk7ey0FV7ZSRIrvu8hYUNd3WhfHDiJNqeqT+ lWTfpCM/gvxfHI9IFHLj6G1mNkRQ9ee1Va/BsLBKIxCewy2YfBOfF7zPGdlLYytgUrKR+p nOOfu95AWPgmoPSDgHBRJ+5LpZCkwFWargRjDXyCrm3Jorz+iYd5YheYwYf/qmKFa5Mw1T UOEPG+kkV6ZztneMVl9QSfv7lRGwc2eEwvanEoSeVz49jM92w5w6GqGDFeE+hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670693381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rar+dnFirhFJdF2In3E9REFboABRR0Ndk955iPCOv+o=; b=dCK9LvbSFYrnURhBWTVy80/txWxc+5NFEJdkYQn/3SrZYMiSAC8hcgGL+gOS0ZDfdzUG40 2aR13gF0VcfLMHgyQIvcilaAO1TVeD3rrjFPiJMAbBU97IwfbLtaB4BkYt5EZ6Aqs2Pya9 JDkHegVXTyWE40MbVP7BwFyyqT5qckpd1s53Z1QtjGlhl1F6sOZJ5hxmdhYOkkWYkAQrk/ VhRfzqIyxmYDT+CO4RS4eo69QTeBZVkc8sDCt5nBN878uIi/NjTE7hOm9cY4n1ecKj3oXS JofjsO+nMOyOVwME6U8hkbfv2SSSChIBS+f4SN/c4OSGmiV6DvKtjad8BshQrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670693381; a=rsa-sha256; cv=none; b=fjTUjAgHLK72ands95VF8jk5nT34jm0f9udFI+CKENZ165CHamxqpVSv33YJmdLDxLoYO+ re/ubW6N5+AOANN2Ri8NcDezzgXpQOrEoWrQ5LITZTMlLWMTxl441Psyf02ki5efIkibJv mhC9xT36im7HhlUg2AgEU6z+R684g8FPpysX5KkDcek5g9nTTiVUgG2IN2LNA51lTJnkDr ulAba8Oboa+o3yhvRv067XabtS1i/OO+S0p8GKdWMcuo/gMY7bOg+pXJ7kmihML5Y8BoSt nI4yo6uKz9O3AEOYO5sZwW2VPUKzylEl7Z2BU/oN5uPJATRdSOu6BIaaieQZKA== Received: from [IPV6:2001:470:1f1c:a0::2] (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0::2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4NTvyr4Wcqz112C for ; Sat, 10 Dec 2022 17:29:40 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: Date: Sat, 10 Dec 2022 17:29:39 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: sshd issue: something to be aware if you upgrade from 12.3 to 12.4 (also on the 13 branch it seems) Content-Language: en-GB To: freebsd-questions@freebsd.org References: From: Graham Perrin Organization: FreeBSD In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------Y0k43rXy0PHp31xD0JnI0JeV" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------Y0k43rXy0PHp31xD0JnI0JeV Content-Type: multipart/mixed; boundary="------------FQvJxnQE9VVcA6vfkTKdkopj"; protected-headers="v1" From: Graham Perrin To: freebsd-questions@freebsd.org Message-ID: Subject: Re: sshd issue: something to be aware if you upgrade from 12.3 to 12.4 (also on the 13 branch it seems) References: In-Reply-To: --------------FQvJxnQE9VVcA6vfkTKdkopj Content-Type: multipart/alternative; boundary="------------ivRDwziW657nf0h3TWvAU5j6" --------------ivRDwziW657nf0h3TWvAU5j6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTAvMTIvMjAyMiAxNzowMiwgcGF1bCBiZWFyZCB3cm90ZToNCj4gaHR0cHM6Ly9idWdz LmZyZWVic2Qub3JnL2J1Z3ppbGxhLy9zaG93X2J1Zy5jZ2k/aWQ9MjYzNDg5DQo+DQo+IHNz aGQgbmVlZHMgYW4gYWRkaXRpb25hbCByZ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gL2lmLyB5b3UgaGF2ZSBhbiBzc2ggDQpzZXNzaW9uIGluIGdvb2QgdGltZTsgdGhl IHJlc3RhcnQgb2Ygc3NoZCB3aWxsIG5vdCBlbmQgdGhlIGNvbm5lY3Rpb24uDQoNCg== --------------ivRDwziW657nf0h3TWvAU5j6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 10/12/2022 17:02, paul beard wrote:=
https:= //bugs.freebsd.org/bugzilla//show_bug.cgi?id=3D263489

sshd needs an additional reboot after the upgrade, either upgrading=C2=A0from source or a binary upgrade. You may be unab= le to log in remotely otherwise.=C2=A0

On the client=C2=A0side 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=C2=A0fatal: recv_rexec_st= ate: parse config errors.=C2=A0

service sshd restart resolves it if you can get console=C2=A0access.

Thanks, Paul.

12.4-specific <https://bugs.freebsd.org/bugzill= a//show_bug.cgi?id=3D268199> 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.

--------------ivRDwziW657nf0h3TWvAU5j6-- --------------FQvJxnQE9VVcA6vfkTKdkopj-- --------------Y0k43rXy0PHp31xD0JnI0JeV Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmOUwgMFAwAAAAAACgkQt2dIb0oY1AuT Zw/9HYGtiqAbSMqDyMl0NIY931zePFyYxbjdmqrt5Z++h82w884Qy3y7D5xzgXFod3xDAofJstU1 9Yq3oQN99rGpEitj94VDE3Szn22R9xvyougYI0UMqs+3S9Taj/Rt3/vMt6ateIcKSNNywn5h4CmJ qBmiU8ZR3hvDMNBv2dLKg1hajmv53K39+wRqPYLUyi5e9Ua4pIBbM0zB3juKK02MVDchAWaxLVv4 tBR9w5t+/6AsPA95Kfr3+75JIzXFxX5MY4b+49NlUcrka4mDbs7YVQMVykRW1tlB0OsyVMCUB9+y 4aXKveYASOMsbSpUDHc4YiJbio+nDg2txI8leTXioxBkT4dtr/3kdl+ydyXprjn960wzCoHMC7XT AtoAF6iHOyTY1zRMVr9PNwOLLH59PdfASQHSaI9ddVvT4Qh0EDtInqie3yI954uXClkSjl0wC9Yn OI400lxkNbzKkNUoOvcLhxZFa4nKcvAmH1OOlQzs25//Tb1vCOxJdPzgHewJXMwnZ4M5poMR7gBv l9FghAjJUHWbWH9BMB7xxdG/hY/du27eg6fdK5etM31mBIcH+S49e/cStKuo1WKPW/eWxVuHRgEU qZsssnrQzkSBOCPrGclUKOwRkAx3XafbQoUohtUyEAQu38hgnhE7usyY/Wb15zKpbGaZwEH0xFyj ncQ= =6yFo -----END PGP SIGNATURE----- --------------Y0k43rXy0PHp31xD0JnI0JeV--