Multiple sshd services defined

Asked by Luke A. Perkins on 2019-06-17

There are 2 definitions to start sshd 18.04.2 LTS (Bionic), specifically: /etc/init.d/ssh and /lib/systemd/system/sshd.service (linked also from /etc/systemd/system/ssh.service -> /lib/systemd/system/sshd.service. It appears that only the /lib/systemd/system/sshd.service is necessary.

Why have this defined in 2 locations?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Last query:
2019-06-17
Last reply:
2019-06-17

Because old hats like myself still use /etc/init.d to stop/start services so it's in both places.

Can you help with this problem?

Provide an answer of your own, or ask Luke A. Perkins for more information if necessary.

To post a message you must log in.