Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 12925  / 1 Year ago, thu, january 19, 2023, 11:42:35

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

More From » ssh

 Answers
0

Remove the service from startup with:



sudo update-rc.d -f sshd remove


Reset it with:



sudo update-rc.d sshd defaults

[#35067] Friday, January 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
inciplyies

Total Points: 10
Total Questions: 114
Total Answers: 93

Location: French Polynesia
Member since Sun, Dec 20, 2020
3 Years ago
;