starting sshd during bootup


Forum: Networking
Topic: starting sshd during bootup
started by: andre75

Posted by andre75 on Feb. 08 2007,07:27
Somehow I cant get sshd to start during boot. I have tried the cheatcodes with lilo as suggested here:
< http://damnsmalllinux.org/wiki/index.php/Cheat_codes >
except that i had no lilo.conf in /boot, so I edited the one in /etc and then did
lilo -C /etc/lilo.conf
(i did a full hdd install, not sure if that has anything to do with it)
after that didn't work, I put this line
ss:12345:respawn:/etc/init.d/sshd start
in my /etc/inittab
but sshd still won't start during the boot process

I want to use the box without monitor and keyboard/mouse, so getting sshd running is essential for me.

Andre

Posted by roberts on Feb. 08 2007,13:52
Many boot codes apply only to LiveCD and frugals.
With a traditional hard installation you are free to do things the traditional way.

The script in /etc/init.d is ssh and not sshd

You could add a line to  /opt/bootlocal.sh

/etc/init.d/ssh start

Your inittab approach may work if you change it from sshd to ssh

Posted by andre75 on Feb. 08 2007,23:18
Quote (roberts @ Feb. 08 2007,08:52)
Many boot codes apply only to LiveCD and frugals.
With a traditional hard installation you are free to do things the traditional way.

The script in /etc/init.d is ssh and not sshd

You could add a line to  /opt/bootlocal.sh

/etc/init.d/ssh start

Your inittab approach may work if you change it from sshd to ssh

Silly me :-). I will give it a try.
Thanks for your response.

EDIT: Yup, the inittab approach works.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.