Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.