[wplug] sshd question.

Patrick Wagstrom pwagstro at andrew.cmu.edu
Fri Dec 2 00:12:49 EST 2005


On Thu, 2005-12-01 at 23:08 -0500, Daniel McQuay wrote:
> Hello list, 
> 
> I have a Linux box connected to my network running Damn Small Linux,
> which I believe after installing to the hard drive is Debian. My
> question is, how do I get the ssh daemon to automatically run when the
> machine is booted? I only have a power and network cable connected to
> it and in order to attach a monitor, mouse and keyboard I would need
> to unhook it all from a windows box that I use quite frequently. 
> 
> Now so far I tried: 
> ln -s /etc/init.d/sshd /etc/rc5.d/S55sshd
> and my current runlevel when typed is:
> N 5
> 
> So before I shut down the Linux box does anyone on the list know if
> the following will work, or does someone else have any other
> suggestions as to what I should do?
> 
If it truly is based on debian you should do the following:

update-rc.d sshd defaults

That will make the symlinks for you to both start and kill the daemon.

--Patrick



More information about the wplug mailing list