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

When I try to restart the ssh server I get the following output:

bash: /etc/init.d/ssh: no such file or directory
share|improve this question
Is openssh-server installed? Please add the output of dpkg -s openssh-server – pgschk Sep 5 '12 at 14:02

The script is named /etc/init.d/sshd not ssh.

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.