Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does the ssh daemon start on Ubuntu server? I see /etc/init.d/ssh, but I don't see any sym-links to it from the rc?.d directories.

I have a situation I'm trying to troubleshoot where a server becomes unresponsive on reboot after I add my own script to the shutdown/startup process with update-rc.d client-services defaults 98 02

On reboot, ssh shuts down, and that's the last I hear of the box (I don't have console or syslog access so I'm working blind here).

share|improve this question
up vote 2 down vote accepted

It looks like it uses upstart, instead of System V init. Take a look at /etc/init/ssh.conf.

Take a look at Anarci's post explaining Upstart from your other question: How to write an init script that will execute an existing start script?

I don't know much about Upstart, but I do know that it is intended to replace System V init, and is used for many of the startup processes in Ubuntu now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.