I have verified this fix using openssh-server 1:9.6p1-3ubuntu13.6 from noble-proposed.
First, I installed openssh-server from noble-proposed and checked that the comment was present in /etc/ssh/sshd_config: nr@six:~$ lxc launch ubuntu:noble noble Launching noble nr@six:~$ lxc exec noble bash root@noble:~# cat > /etc/apt/sources.list.d/proposed.sources << EOF > Types: deb > URIs: http://us.archive.ubuntu.com/ubuntu/ > Suites: noble-proposed > Components: main universe > Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg > EOF root@noble:~# apt update Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease Get:2 http://us.archive.ubuntu.com/ubuntu noble-proposed InRelease [265 kB] Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] Get:5 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB] Get:6 http://us.archive.ubuntu.com/ubuntu noble-proposed/main amd64 Packages [180 kB] Get:7 http://us.archive.ubuntu.com/ubuntu noble-proposed/main Translation-en [48.6 kB] Get:8 http://us.archive.ubuntu.com/ubuntu noble-proposed/main amd64 Components [22.0 kB] Get:9 http://us.archive.ubuntu.com/ubuntu noble-proposed/main amd64 c-n-f Metadata [3556 B] Get:10 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Packages [650 kB] Get:11 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe Translation-en [79.1 kB] Get:12 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Components [68.0 kB] Get:13 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 c-n-f Metadata [10.7 kB] Get:14 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] Get:15 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [433 kB] Get:16 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5982 kB] Get:17 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [93.2 kB] Get:18 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [7152 B] Get:19 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [5816 B] Get:20 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [555 kB] Get:21 http://archive.ubuntu.com/ubuntu noble/universe amd64 Components [3871 kB] Get:22 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [148 kB] Get:23 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [51.9 kB] Get:24 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [13.5 kB] Get:25 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [388 kB] Get:26 http://archive.ubuntu.com/ubuntu noble/universe amd64 c-n-f Metadata [301 kB] Get:27 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB] Get:28 http://archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB] Get:29 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Components [35.0 kB] Get:30 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 c-n-f Metadata [8328 B] Get:31 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [599 kB] Get:32 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [74.8 kB] Get:33 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B] Get:34 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [10.9 kB] Get:35 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [2808 B] Get:36 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [146 kB] Get:37 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [114 kB] Get:38 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [10.2 kB] Get:39 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [707 kB] Get:40 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [210 kB] Get:41 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [305 kB] Get:42 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [19.8 kB] Get:43 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [388 kB] Get:44 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [74.8 kB] Get:45 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B] Get:46 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [14.7 kB] Get:47 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [3820 B] Get:48 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B] Get:49 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [552 B] Get:50 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [208 B] Get:51 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [112 B] Get:52 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [10.6 kB] Get:53 http://archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [10.8 kB] Get:54 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [21.0 kB] Get:55 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1104 B] Get:56 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [212 B] Get:57 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 c-n-f Metadata [116 B] Get:58 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B] Get:59 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 c-n-f Metadata [116 B] Get:60 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B] Get:61 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [344 B] Fetched 31.8 MB in 6s (5389 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 16 packages can be upgraded. Run 'apt list --upgradable' to see them. root@noble:~# apt install -t noble-proposed openssh-server -y Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: openssh-client openssh-sftp-server Suggested packages: keychain libpam-ssh monkeysphere ssh-askpass molly-guard The following packages will be upgraded: openssh-client openssh-server openssh-sftp-server 3 upgraded, 0 newly installed, 0 to remove and 71 not upgraded. Need to get 1451 kB of archives. After this operation, 1024 B of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu noble-proposed/main amd64 openssh-sftp-server amd64 1:9.6p1-3ubuntu13.6 [37.3 kB] Get:2 http://us.archive.ubuntu.com/ubuntu noble-proposed/main amd64 openssh-server amd64 1:9.6p1-3ubuntu13.6 [509 kB] Get:3 http://us.archive.ubuntu.com/ubuntu noble-proposed/main amd64 openssh-client amd64 1:9.6p1-3ubuntu13.6 [905 kB] Fetched 1451 kB in 0s (3907 kB/s) Preconfiguring packages ... (Reading database ... 34495 files and directories currently installed.) Preparing to unpack .../openssh-sftp-server_1%3a9.6p1-3ubuntu13.6_amd64.deb ... Unpacking openssh-sftp-server (1:9.6p1-3ubuntu13.6) over (1:9.6p1-3ubuntu13.5) ... Preparing to unpack .../openssh-server_1%3a9.6p1-3ubuntu13.6_amd64.deb ... Unpacking openssh-server (1:9.6p1-3ubuntu13.6) over (1:9.6p1-3ubuntu13.5) ... Preparing to unpack .../openssh-client_1%3a9.6p1-3ubuntu13.6_amd64.deb ... Unpacking openssh-client (1:9.6p1-3ubuntu13.6) over (1:9.6p1-3ubuntu13.5) ... Setting up openssh-client (1:9.6p1-3ubuntu13.6) ... Setting up openssh-sftp-server (1:9.6p1-3ubuntu13.6) ... Setting up openssh-server (1:9.6p1-3ubuntu13.6) ... Replacing config file /etc/ssh/sshd_config with new version Processing triggers for man-db (2.12.0-4build2) ... Processing triggers for ufw (0.36.2-6) ... Scanning processes... No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. root@noble:~# head -n 30 /etc/ssh/sshd_config # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games # The strategy used for options in the default sshd_config shipped with # OpenSSH is to specify options with their default value where # possible, but leave them commented. Uncommented options override the # default value. Include /etc/ssh/sshd_config.d/*.conf # When systemd socket activation is used (the default), the socket # configuration must be re-generated after changing Port, AddressFamily, or # ListenAddress. # # For changes to take effect, run: # # systemctl daemon-reload # systemctl restart ssh.socket # #Port 22 #AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress :: #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_ecdsa_key #HostKey /etc/ssh/ssh_host_ed25519_key Then, I upgraded the container to oracular to ensure no debconf prompts were given for openssh-server: root@noble:~# rm /etc/apt/sources.list.d/proposed.sources root@noble:~# apt update Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 16 packages can be upgraded. Run 'apt list --upgradable' to see them. root@noble:~# apt upgrade -y Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following upgrades have been deferred due to phasing: distro-info-data The following packages will be upgraded: gcc-14-base initramfs-tools initramfs-tools-bin initramfs-tools-core libarchive13t64 libgcc-s1 libproc2-0 libstdc++6 login nano passwd procps python3-update-manager snapd update-manager-core 15 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 5 standard LTS security updates Need to get 32.4 MB of archives. After this operation, 2076 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 login amd64 1:4.13+dfsg1-4ubuntu3.2 [202 kB] Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 gcc-14-base amd64 14.2.0-4ubuntu2~24.04 [50.8 kB] Get:3 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libstdc++6 amd64 14.2.0-4ubuntu2~24.04 [791 kB] Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libgcc-s1 amd64 14.2.0-4ubuntu2~24.04 [78.6 kB] Get:5 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 passwd amd64 1:4.13+dfsg1-4ubuntu3.2 [845 kB] Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libproc2-0 amd64 2:4.0.4-4ubuntu3.2 [59.5 kB] Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 procps amd64 2:4.0.4-4ubuntu3.2 [707 kB] Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 nano amd64 7.2-2ubuntu0.1 [282 kB] Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 python3-update-manager all 1:24.04.9 [43.1 kB] Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 update-manager-core all 1:24.04.9 [11.6 kB] Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 initramfs-tools all 0.142ubuntu25.4 [9078 B] Get:12 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 initramfs-tools-core all 0.142ubuntu25.4 [50.3 kB] Get:13 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 initramfs-tools-bin amd64 0.142ubuntu25.4 [21.3 kB] Get:14 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libarchive13t64 amd64 3.7.2-2ubuntu0.2 [381 kB] Get:15 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 snapd amd64 2.65.3+24.04 [28.8 MB] Fetched 32.4 MB in 2s (17.6 MB/s) (Reading database ... 34495 files and directories currently installed.) Preparing to unpack .../login_1%3a4.13+dfsg1-4ubuntu3.2_amd64.deb ... Unpacking login (1:4.13+dfsg1-4ubuntu3.2) over (1:4.13+dfsg1-4ubuntu3) ... Setting up login (1:4.13+dfsg1-4ubuntu3.2) ... (Reading database ... 34495 files and directories currently installed.) Preparing to unpack .../gcc-14-base_14.2.0-4ubuntu2~24.04_amd64.deb ... Unpacking gcc-14-base:amd64 (14.2.0-4ubuntu2~24.04) over (14-20240412-0ubuntu1) ... Setting up gcc-14-base:amd64 (14.2.0-4ubuntu2~24.04) ... (Reading database ... 34495 files and directories currently installed.) Preparing to unpack .../libstdc++6_14.2.0-4ubuntu2~24.04_amd64.deb ... Unpacking libstdc++6:amd64 (14.2.0-4ubuntu2~24.04) over (14-20240412-0ubuntu1) ... Setting up libstdc++6:amd64 (14.2.0-4ubuntu2~24.04) ... (Reading database ... 34495 files and directories currently installed.) Preparing to unpack .../libgcc-s1_14.2.0-4ubuntu2~24.04_amd64.deb ... Unpacking libgcc-s1:amd64 (14.2.0-4ubuntu2~24.04) over (14-20240412-0ubuntu1) ... Setting up libgcc-s1:amd64 (14.2.0-4ubuntu2~24.04) ... (Reading database ... 34495 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.13+dfsg1-4ubuntu3.2_amd64.deb ... Unpacking passwd (1:4.13+dfsg1-4ubuntu3.2) over (1:4.13+dfsg1-4ubuntu3) ... Setting up passwd (1:4.13+dfsg1-4ubuntu3.2) ... (Reading database ... 34495 files and directories currently installed.) Preparing to unpack .../0-libproc2-0_2%3a4.0.4-4ubuntu3.2_amd64.deb ... Unpacking libproc2-0:amd64 (2:4.0.4-4ubuntu3.2) over (2:4.0.4-4ubuntu3.1) ... Preparing to unpack .../1-procps_2%3a4.0.4-4ubuntu3.2_amd64.deb ... Unpacking procps (2:4.0.4-4ubuntu3.2) over (2:4.0.4-4ubuntu3.1) ... Preparing to unpack .../2-nano_7.2-2ubuntu0.1_amd64.deb ... Unpacking nano (7.2-2ubuntu0.1) over (7.2-2build1) ... Preparing to unpack .../3-python3-update-manager_1%3a24.04.9_all.deb ... Unpacking python3-update-manager (1:24.04.9) over (1:24.04.8) ... Preparing to unpack .../4-update-manager-core_1%3a24.04.9_all.deb ... Unpacking update-manager-core (1:24.04.9) over (1:24.04.8) ... Preparing to unpack .../5-initramfs-tools_0.142ubuntu25.4_all.deb ... Unpacking initramfs-tools (0.142ubuntu25.4) over (0.142ubuntu25.2) ... Preparing to unpack .../6-initramfs-tools-core_0.142ubuntu25.4_all.deb ... Unpacking initramfs-tools-core (0.142ubuntu25.4) over (0.142ubuntu25.2) ... Preparing to unpack .../7-initramfs-tools-bin_0.142ubuntu25.4_amd64.deb ... Unpacking initramfs-tools-bin (0.142ubuntu25.4) over (0.142ubuntu25.2) ... Preparing to unpack .../8-libarchive13t64_3.7.2-2ubuntu0.2_amd64.deb ... Unpacking libarchive13t64:amd64 (3.7.2-2ubuntu0.2) over (3.7.2-2ubuntu0.1) ... Preparing to unpack .../9-snapd_2.65.3+24.04_amd64.deb ... Unpacking snapd (2.65.3+24.04) over (2.63.1+24.04) ... Setting up snapd (2.65.3+24.04) ... Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ... snapd.failure.service is a disabled or a static unit not running, not starting it. snapd.snap-repair.service is a disabled or a static unit not running, not starting it. Setting up libproc2-0:amd64 (2:4.0.4-4ubuntu3.2) ... Setting up nano (7.2-2ubuntu0.1) ... Setting up python3-update-manager (1:24.04.9) ... Setting up procps (2:4.0.4-4ubuntu3.2) ... Setting up libarchive13t64:amd64 (3.7.2-2ubuntu0.2) ... Setting up initramfs-tools-bin (0.142ubuntu25.4) ... Setting up update-manager-core (1:24.04.9) ... Setting up initramfs-tools-core (0.142ubuntu25.4) ... Setting up initramfs-tools (0.142ubuntu25.4) ... update-initramfs: deferring update (trigger activated) Processing triggers for man-db (2.12.0-4build2) ... Processing triggers for dbus (1.14.10-4ubuntu4.1) ... Processing triggers for install-info (7.1-3build2) ... Processing triggers for libc-bin (2.39-0ubuntu8.3) ... Processing triggers for initramfs-tools (0.142ubuntu25.4) ... Scanning processes... Scanning candidates... Restarting services... systemctl restart packagekit.service Service restarts being deferred: systemctl restart unattended-upgrades.service No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. root@noble:~# sed -i 's/Prompt=lts/Prompt=normal/g' /etc/update-manager/release-upgrades root@noble:~# do-release-upgrade Checking for a new Ubuntu release = Welcome to Ubuntu 24.10 'Oracular Oriole' = The Ubuntu team is proud to announce Ubuntu 24.10 'Oracular Oriole'. To see what's new in this release, visit: https://wiki.ubuntu.com/OracularOriole/ReleaseNotes Ubuntu is a Linux distribution for your desktop or server, with a fast and easy install, regular releases, a tight selection of excellent applications installed by default, and almost any other software you can imagine available through the network. We hope you enjoy Ubuntu. == Feedback and Helping == If you would like to help shape Ubuntu, take a look at the list of ways you can participate at http://www.ubuntu.com/community/participate/ Your comments, bug reports, patches and suggestions will help ensure that our next release is the best release of Ubuntu ever. If you feel that you have found a bug please read: http://help.ubuntu.com/community/ReportingBugs Then report bugs using apport in Ubuntu. For example: ubuntu-bug linux will open a bug report in Launchpad regarding the linux package. If you have a question, or if you think you may have found a bug but aren't sure, first try asking on the #ubuntu or #ubuntu-bugs IRC channels on Libera.Chat, on the Ubuntu Users mailing list, or on the Ubuntu forums: http://help.ubuntu.com/community/InternetRelayChat http://lists.ubuntu.com/mailman/listinfo/ubuntu-users http://www.ubuntuforums.org/ == More Information == You can find out more about Ubuntu on our website, IRC channel and wiki. If you're new to Ubuntu, please visit: http://www.ubuntu.com/ To sign up for future Ubuntu announcements, please subscribe to Ubuntu's very low volume announcement list at: http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce Continue [yN] y Get:1 Upgrade tool signature [833 B] Get:2 Upgrade tool [1055 kB] Fetched 1055 kB in 0s (0 B/s) /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py:237: Warning: W:Download is performed unsandboxed as root as file 'oracular.tar.gz.gpg' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) result = fetcher.run() authenticate 'oracular.tar.gz' against 'oracular.tar.gz.gpg' extracting 'oracular.tar.gz' [screen is terminating] root@noble:~# cat /etc/os-release PRETTY_NAME="Ubuntu 24.10" NAME="Ubuntu" VERSION_ID="24.10" VERSION="24.10 (Oracular Oriole)" VERSION_CODENAME=oracular ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=oracular LOGO=ubuntu-logo root@noble:~# apt policy openssh-server openssh-server: Installed: 1:9.7p1-7ubuntu4 Candidate: 1:9.7p1-7ubuntu4 Version table: *** 1:9.7p1-7ubuntu4 500 500 http://archive.ubuntu.com/ubuntu oracular/main amd64 Packages 100 /var/lib/dpkg/status ** Tags removed: verification-needed verification-needed-noble ** Tags added: verification-done verification-done-noble -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/2069041 Title: Changing Port in sshd_config requires calling systemctl daemon-reload Status in openssh package in Ubuntu: Fix Released Status in openssh source package in Noble: Fix Committed Bug description: [Impact] There is currently no comment in the default /etc/ssh/sshd_config explaining that a systemctl daemon-reload is needed for changes to Port etc. to take effect when systemd socket activation is used (the default on Ubuntu). Users may change e.g. Port in /etc/ssh/sshd_config and expect systemctl restart ssh.service to reflect the change, but this will not work. [Test Plan] 1. The proposed fix here is to improve the documentation by adding a comment above the default Port setting in /etc/ssh/sshd_config. Hence, the test is to simply install openssh-server from noble-proposed, and verify that the comment is there. 2. Because the patch changes the default sshd_config, and debian/openssh-server.ucf-md5sum needs to be updated when this happens, an upgrade from noble to oracular should be done after installing openssh-server from noble-proposed. If a debconf prompt is shown, then a mistake was made in recording the checksums. Otherwise, they are correct. [Where problems could occur] There is low technical risk, but we should be sure that the documentation is clear and improves the experience of users. It could be harmful if the documentation accidentally makes things worse, or is just confusing. Also, a packaging quirk of openssh-server is that checksums of the patched sshd_config (along with certain settings tweaked) need to be recorded in debian/openssh-server.ucf-md5sum to avoid unnecessary debconf prompts on upgrades. I have updated those checksums, but if they are incorrent, then in future upgrades users might see an unnecessary debconf prompt about /etc/ssh/sshd_config. [Original Description] Changing the Port directive in sshd_config and restarting ssh.service is without effect, sshd keeps listening to port 22. Also mentioned in https://discourse.ubuntu.com/t/sshd-now-uses-socket- based-activation-ubuntu-22-10-and-later/30189/32 Steps to reproduce: 1. Install Ubuntu 24.04 LTS 2. Change Port directive in /etc/ssh/sshd_config to Port 2233 3. Restart ssh.service 4. Observe sshd still listening to port 22 Expected behaviour: sshd changes port to 2233 Actual behaviour: sshd keeps listening to port 22 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2069041/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp