Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: starting sshd during bootup, cant get it to work< Next Oldest | Next Newest >
andre75 Offline





Group: Members
Posts: 11
Joined: Feb. 2007
Posted: Feb. 08 2007,07:27 QUOTE

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


--------------
http://www.aguntherphotography.com
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Feb. 08 2007,13:52 QUOTE

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
Back to top
Profile PM WEB 
andre75 Offline





Group: Members
Posts: 11
Joined: Feb. 2007
Posted: Feb. 08 2007,23:18 QUOTE

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.


--------------
http://www.aguntherphotography.com
Back to top
Profile PM WEB 
2 replies since Feb. 08 2007,07:27 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: starting sshd during bootup

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code