* Add sshd-socket-generator to generate ssh.socket drop-in configuration
[...]
From README.Debian:
The provided ssh.socket unit file sets ListenStream=22. A systemd generator,
sshd-socket-generator, parses the sshd configuration and, if non-default
ListenAddress(s) or Port(s) are configured, generates corresponding
ListenStream= lines in a drop-in configration file for ssh.socket.
I believe this is fixed in:
openssh (1:9.6p1-3ubuntu3) noble; urgency=medium
* Add sshd-socket- generator to generate ssh.socket drop-in configuration
[...]
From README.Debian:
The provided ssh.socket unit file sets ListenStream=22. A systemd generator, generator, parses the sshd configuration and, if non-default
sshd-socket-
ListenAddress(s) or Port(s) are configured, generates corresponding
ListenStream= lines in a drop-in configration file for ssh.socket.
So marking this as Fix Released.