ssh startup at boot
I'm trying to have ssh daemon to run at boot time
How should I do it? I tried to put a shell script in /etc/rc5.d/ with "sshd start" inside, but it doesn't work
I'm not good at this sort of things, but this shouldn't be that hard ...
I'm running DSL (damn small linux), sshd is in /usr/sbin/ (I tried also to put "/usr/sbin/sshd start", but it doesn't work ...).
If I start sshd within the control panel, it just works fine, but I have to start it each time by hand.
Thanks for reading
don't know DSL in particular, but you should have access, as root to a command like "rc-update" (in gentoo), or "update-rc.d" (in debian) which permits to manage which services to start at which runlevel...
the exact command to run sshd from command line is "/etc/init.d/sshd start".
again, i don't know DSL specific commands, but these should be merely the same for each distro.
I'm new to Lunix (but not to other unixes). Looks like there is an /etc/rc.d/rc.local, where you can put your own startup stuff. I tried adding /etc/init.d/sshd start, but haven't tried booting it yet.
if you installed sshd from your package manager (which i recommand), you should just have to run a command like "rc-update" (in gentoo), or "update-rc.d" (in debian), which will install properly all the needed files to the /etc/rc.d/* concerned dirs.
By the way, what's your distro ?
|All times are GMT -5. The time now is 12:03 AM.|