Ubuntu – How to disable autostart of SSHD in Ubuntu 15.04


In older versions of Ubuntu I commented out the "start on …" line in /etc/init/ssh.conf. This worked well, but not in Ubuntu 15.04.

Best Answer

The command

systemctl disable ssh

did it for me.

@Jakuje: Thanks for giving me the idea.

Related Question