How do I disable SSHD from starting automatically?
Rename /etc/init/ssh.conf to /etc/init/ssh.conf.disabled.
sudo mv /etc/init/ssh.conf /etc/init/ssh.conf.disabled
This should be enough,:
update-rc.d ssh enable # sets the default runlevels to on
update-rc.d ssh disable # sets all to off
In your /etc/init/ssh.conf, comment out the start on line:
# ssh - OpenBSD Secure Shell server
#
# The OpenSSH server provides secure shell access to the system.
description "OpenSSH server"
#start on filesystem or runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 10 5
umask 022