There are multiple ways to start / stop / restart services:
service ssh start service ssh stop service ssh restart
/etc/init.d/ssh start /etc/init.d/ssh stop /etc/init.d/ssh restart
Starts a service at boot time. More precise control can be achieved with rcconf and sysv-rc-conf.
rcconf
sysv-rc-conf
update-rc.d ssh enable
Last updated 5 years ago