[plug] Scary message upgrading from Debian bullseye to trixie

Steve Boak steve at boak.au
Fri Jul 17 15:17:27 AWST 2026


Thanks Joerg

I'd already done the diffs and can't see anything unusual, but the tmp 
file name startled me, unexpected in an official distribution. I'll go 
ahead with the maintainer's version.

Good tip for the sudo sshd -t, I didn't know that one.

Steve


On 17/7/2026 3:02 pm, Joerg Martini wrote:
>
> Check the differences between the new version and your customized 
> configuration using:
>
> sudo diff /etc/ssh/sshd_config /tmp/tmp.f*cK1e2O00
>
>
> Decide:
>
> Keep your local customizations if they are important (e.g., custom 
> ports, authentication methods).
>
> → No action required (the warning remains, but your system will 
> continue to function).
>
> Apply the new version if you prefer the default configuration:
>
>
> sudo cp /tmp/tmp.f*cK1e2O00 /etc/ssh/sshd_config
>
> sudo systemctl restart sshd
>
>
> Note: Your manual changes will be lost!
>
>
> If you’re unsure, combine both approaches
>
> Copy your current configuration as a backup:
>
>
> sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.backup
>
>
> Manually insert the important changes into the new version:
>
> sudo nano /tmp/tmp.f*cK1e2O00
>
> Then replace the old file:
>
> sudo cp /tmp/tmp.f*cK1e2O00 /etc/ssh/sshd_config
>
> sudo systemctl restart sshd
>
>
> Verify the configuration after making changes:
>
> sudo sshd -t
>
>
> The warning appears because your system detects automatic updates for 
> configuration files.
>
> SSH is critical—a mistake can block access. Proceed with caution!
>
> If you have no idea what you’ve changed: Keep the local version and 
> check it later when you have time.
>
>
> Am 17.07.26 um 08:45 schrieb Steve Boak via plug:
>>
>> Hi all
>>
>> Help!
>>
>> 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:
>>
>> *Configuring openssh-server*
>>
>> *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.*
>>
>> *What do you want to do about modified configuration file sshd_config? *
>>
>> Yes the f*cK... filename is named what you think it is!
>>
>> Is this just a maintainer's version of fun, or should I be worried?
>>
>> The contents of the file don't seen out of order, but...
>>
>> Steve
>>
>> -- 
>> Steve Boak, VK6HSB
>> 0411 255 789
>> P.O. Box 240, Nannup, WA 6275
>>
>> _______________________________________________
>> PLUG discussion list:plug at plug.org.au
>> https://lists.plug.org.au/mailman/listinfo/plug
>> Committee e-mail:committee at plug.org.au
>> PLUG Membership:http://www.plug.org.au/membership

-- 
Steve Boak, VK6HSB
0411 255 789
P.O. Box 240, Nannup, WA 6275
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.plug.org.au/pipermail/plug/attachments/20260717/83a13262/attachment.htm>


More information about the plug mailing list