Re: Warning for 13.1 upgrades, SSH restart required before you close session post upgrade
Date: Wed, 25 May 2022 20:21:09 UTC
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>"kex_exchange_identification connection closed by remote host"</p> <p><br> </p> <p>Was the unwelcome response I received after upgrading 1 of 2 remote instances from 13.0-RELEASE to 13.1-RELEASE</p> <p>The other one, same 13.0-RELEASE and security patches as the problem child, upgraded with no additional sshd restart.</p> <p>I missed the flag about it in the updating, but a remote console saved my bacon.</p> <p><br> </p> <p>Tim<br> </p> <div class="moz-cite-prefix">On 5/25/22 3:37 PM, Mark Tinka wrote:<br> </div> <blockquote type="cite" cite="mid:a24f98a5-0dc2-13e3-089c-b9203af1226e@tinka.africa"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <br> <br> <div class="moz-cite-prefix">On 5/25/22 02:55, Paul Macdonald wrote:<br> </div> <blockquote type="cite" cite="mid:b3df00ff-1543-d7d9-fb34-ebe1ab5b3cb0@ifdnrg.com"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <p><br> </p> <p>Hi, <br> </p> <p>I've not spotted this in @questions so hopefully this will warn some people</p> <p>After an upgrade to 13.1, and post reboot, you have to restart the SSH daemon in the current session</p> <p>otherwise you'll get locked out.</p> <p>From upgrade notes, which i admit i didn't read</p> <p><i>"After upgrading, sshd (from OpenSSH 8.8p1) will not accept new connections until it is restarted. After installing the new userland, either reboot (as specified in the source update procedure), or execute </i><i><code>service sshd restart</code></i><i>."</i></p> <p>I would think something as important as this might have warranted more of an alert</p> </blockquote> <br> Yes, this hit me too on a number of boxes. I had to get remote hands to reboot the servers. <br> <br> Wonder how this got missed, but hey, we're human.<br> <br> Mark.<br> </blockquote> </body> </html>