3

Possible Duplicate:
How do I disable SSH from starting automatically?

Simple question here; what's the correct way to stop the sshd service from starting when the OS boots ? I'm not sure if this answer is correct, so I'm hoping some guru(s) can help me out!

What I'd like is a configuration that (after boot) allows me to start the service using sudo service ssh start when necessary.

Version info:

me@home:~$ ssh -V
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
me@home:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:    12.04
Codename:   precise
blong
  • 204

2 Answers2

4

Remove the service from startup with:

sudo update-rc.d -f sshd remove

Reset it with:

sudo update-rc.d sshd defaults
wojox
  • 11,840
1

You could install Boot-Up Manager. It is a GUI to enable or disable services on startup.

sudo apt-get install bum

It has to be run as root user.

sudo bum

enter image description here

abhshkdz
  • 4,109