Services and Autostart
Manage services
There are multiple ways to start / stop / restart services:
Using the service command:
service ssh start
service ssh stop
service ssh restart
Using /etc/init.d
/etc/init.d/ssh start
/etc/init.d/ssh stop
/etc/init.d/ssh restart
Autostart
Starts a service at boot time. More precise control can be achieved with rcconf and sysv-rc-conf.
update-rc.d ssh enable
Last updated
Was this helpful?