[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemdq [Solved]



On Sb, 28 dec 19, 15:07:27, ghe wrote:
> Trivial in retrospect.
> 
> There were several ssh* files in /lib/systemd/service. None named sshd*.
> I copied the one named ssh.service to sshd.service, enabled it,
> rebooted, and there is was.

For the archives, the Debian package only ships the unit 'ssh.service' 
(in line with '/etc/init.d/ssh'), which contains an 'Alias=sshd'.

As per systemd.unit(5) aliases are only effective when the unit is 
enabled.

The correct solution to your problem would have been:

    systemctl enable ssh

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: