Bug#942100: openssh-server: /etc/ssh/sshd_config unconditionally overwritten by update

2023-10-09 Thread Meeuwissen Olaf
> Port 22 That should have been Port Additionally, when I reviewed the `permit-root-login` debconf settings against the postinst I got a bit confused. In `create_sshdconfig` it says if [ "$permit_root_login" != true ]; then sed -i 's/^#*PermitRootLogin

Bug#942100: openssh-server: /etc/ssh/sshd_config unconditionally overwritten by update

2023-10-09 Thread Meeuwissen Olaf
This hit me this weekend, courtesy of the Debian 12.1 to 12.2 point upgrade. That upgraded openssh-server from 1:9.2p1-2 to 1:9.2p1-2+deb12u1. I had made some changes to /etc/ssh/sshd_config in March 2018 (Debian 9.4), one of which moved the default port to . This was to make port 22

Bug#942100: openssh-server: /etc/ssh/sshd_config unconditionally overwritten by update

2019-10-10 Thread Stefan Tauner
Package: openssh-server Version: 1:7.9p1-10+deb10u1 Severity: important Hi, this just bit me on current stable (Buster) while updating from the security repo: The following packages will be upgraded: openssh-client (1:7.9p1-10 => 1:7.9p1-10+deb10u1) openssh-server (1:7.9p1-10 =>