On Tue, Jul 02, 2024 at 03:05:16PM +0000, John Wellesz wrote: > I used apt upgrade to install the security update available for > openssh-server > > * What was the outcome of this action? > > It overwrote /etc/ssh/sshd_config without promtping, erasing the custom > settings > and almost locking me out as a result (my custom port setting was gone > as well as other changes I've made). > > * What outcome did you expect instead? > > I expected to receive the usual prompt when a configuration file is > modified asking me what I want to do but there was none.
We'll need to be able to reproduce this problem before being able to do anything about it. (I have a modified /etc/ssh/sshd_config on my own stable system and it wasn't overwritten on upgrade.) Can you please provide a copy of your modified /etc/ssh/sshd_config, along with the output of the relevant apt run (which should be preserved in /var/log/apt/term.log)? -- Colin Watson (he/him) [[email protected]]

