View Full Version : start sshd automatically

06-16-2004, 07:29 PM
I've been trying to get sshd to start automatically on system boot. I've read all the FAQs but it doesn't seem to work on my knoppix 3.4 (2.6 kernel) system. Here's what I've done:

went to /etc/rc3.d and created a symlink called S70ssh to ../init.d/ssh:

in rc3.d:
lrwxrwxrwx 1 root root 13 Jun 16 10:28 S70ssh -> ../init.d/ssh

../init.d/ssh is the typical shell script to start the sshd.
If I go to /etc/rc3.d and type "./S70ssh" the sshd starts fine, but it won't come up automatically on boot.

Any ideas? thanks..

06-16-2004, 08:00 PM
First remove the link you made, then do: update-rc.d ssh defaults
If you want to remove it or something else starting: update-rc.d -f ssh remove

06-16-2004, 11:38 PM
ah, that worked. thanks!