This is expected behavior, because aliases are only activated when a unit is enabled (look for Alias= in [1]) and ssh.service is not enabled in kinetic and newer since we use socket activation.
[1] https://www.freedesktop.org/software/systemd/man/systemd.unit.html ** Changed in: openssh (Ubuntu) Status: New => Invalid -- 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/2016596 Title: Unit sshd.service could not be found Status in openssh package in Ubuntu: Invalid Bug description: Despite ssh.service has an Alias for sshd.service, but systemd reports "Unit sshd.service could not be found". ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: openssh-server 1:9.0p1-1ubuntu8 ProcVersionSignature: Ubuntu 6.2.0-1003.3-kvm 6.2.6 Uname: Linux 6.2.0-1003-kvm x86_64 ApportVersion: 2.26.1-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CloudArchitecture: x86_64 CloudBuildName: server CloudID: lxd CloudName: lxd CloudPlatform: lxd CloudSerial: 20230414 CloudSubPlatform: LXD socket API v. 1.0 (/dev/lxd/sock) Date: Mon Apr 17 11:00:23 2023 ProcEnviron: LANG=C.UTF-8 PATH=(custom, no user) TERM=xterm-256color 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/2016596/+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