<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="FreeSans">Check the differences between the new
version and your customized configuration using:<br>
<br>
sudo diff /etc/ssh/sshd_config /tmp/tmp.f*cK1e2O00<br>
<br>
<br>
Decide:<br>
<br>
Keep your local customizations if they are important (e.g.,
custom ports, authentication methods).<br>
<br>
→ No action required (the warning remains, but your system will
continue to function).<br>
<br>
</font>
</p>
<p><font face="FreeSans">Apply the new version if you prefer the
default configuration:</font></p>
<font face="FreeSans"><br>
sudo cp /tmp/tmp.f*cK1e2O00 /etc/ssh/sshd_config<br>
<br>
sudo systemctl restart sshd<br>
<br>
<br>
Note: Your manual changes will be lost!<br>
<br>
<br>
If you’re unsure, combine both approaches<br>
<br>
Copy your current configuration as a backup:<br>
<br>
<br>
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.backup<br>
<br>
<br>
Manually insert the important changes into the new version:<br>
<br>
sudo nano /tmp/tmp.f*cK1e2O00<br>
<br>
Then replace the old file:<br>
<br>
sudo cp /tmp/tmp.f*cK1e2O00 /etc/ssh/sshd_config<br>
<br>
sudo systemctl restart sshd<br>
<br>
<br>
Verify the configuration after making changes:<br>
<br>
sudo sshd -t<br>
<br>
<br>
The warning appears because your system detects automatic updates
for configuration files.<br>
<br>
SSH is critical—a mistake can block access. Proceed with caution!<br>
<br>
If you have no idea what you’ve changed: Keep the local version
and check it later when you have time.</font>
<p><br>
</p>
<div class="moz-cite-prefix">Am 17.07.26 um 08:45 schrieb Steve Boak
via plug:<br>
</div>
<blockquote type="cite"
cite="mid:c60c9489-1752-42f5-af11-9d91b894b92e@boak.au">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi all</p>
<p>Help!</p>
<p>Doing an upgrade of an old Debian system from bullseye to
trixie, (all /etc/apt/sources.list entries are debian.org
archives), and got this message from sshd:</p>
<p><b>Configuring openssh-server</b></p>
<p><b>A new version (/tmp/tmp.f*cK1e2O00) of configuration file
/etc/ssh/sshd_config is available, but the version installed
currently has been locally modified.</b></p>
<p><b>What do you want to do about modified configuration file
sshd_config? </b></p>
<p>Yes the f*cK... filename is named what you think it is!</p>
<p>Is this just a maintainer's version of fun, or should I be
worried?</p>
<p>The contents of the file don't seen out of order, but...</p>
<p>Steve</p>
<pre class="moz-signature" cols="72">--
Steve Boak, VK6HSB
0411 255 789
P.O. Box 240, Nannup, WA 6275</pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
PLUG discussion list: <a class="moz-txt-link-abbreviated" href="mailto:plug@plug.org.au">plug@plug.org.au</a>
<a class="moz-txt-link-freetext" href="https://lists.plug.org.au/mailman/listinfo/plug">https://lists.plug.org.au/mailman/listinfo/plug</a>
Committee e-mail: <a class="moz-txt-link-abbreviated" href="mailto:committee@plug.org.au">committee@plug.org.au</a>
PLUG Membership: <a class="moz-txt-link-freetext" href="http://www.plug.org.au/membership">http://www.plug.org.au/membership</a>
</pre>
</blockquote>
</body>
</html>