It is a bug but last night an update of the openssh package updated to OpenSSH_10.0p2, OpenSSL 3.0.13 30 Jan 2024 and after applying this update, things resumed working normally again, both port forwarding and listening to additional Port arguments in the sshd_config.
-- 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/2114144 Title: Openssh Server ignores Port xxx Status in openssh package in Ubuntu: Incomplete Bug description: I have: Port 22 Port 443 In my sshd_config, to have it listen to a secondary port 443 to get around firewalls that block ssh. Until a few days ago, like port forwarding, this worked, but now, like port forwarding, it is broken. The second Port item is just ignored. It is not acceptable for Canonical to randomly break important functionality like this. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: openssh-server 1:9.6p1-3ubuntu13.11 Uname: Linux 6.15.0 x86_64 ApportVersion: 2.28.1-0ubuntu3.7 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: MATE Date: Thu Jun 12 00:07:41 2025 SourcePackage: openssh UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2114144/+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