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
Pages: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: start ssh at boot time< Next Oldest | Next Newest >
lothario Offline





Group: Members
Posts: 17
Joined: Feb. 2006
Posted: Nov. 04 2006,21:40 QUOTE

My HD install works.
I want the ssh server to start at boot time.
So I added ssh to:
kernel     /boot/linux24   root=/dev/hda2   ssh
in /boot/grub/menu.lst

But the ssh server does not start at boot time.

What am I doing wrong?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 05 2006,04:36 QUOTE

I don't think 'traditional' hd-installs parse some frugal calls..
Just add the command to start it in one of the startup files.
Back to top
Profile PM 
lothario Offline





Group: Members
Posts: 17
Joined: Feb. 2006
Posted: Nov. 05 2006,04:57 QUOTE

Ok.

I appended
/usr/sbin/sshstart
to the file
/opt/bootlocal.sh

This almost works.
Except that I have to hit Enter for it to continue after sshd has been started because it says
"Hit Return to continue."

How can I make it an unattended bootup process?
So that I may reboot it remotely, via my ssh login.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 05 2006,05:46 QUOTE

/etc/init.d/ssh  start

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 05 2006,05:47 QUOTE

Usually system services can be found in /etc/init.d

You can try
/etc/init.d/ssh start
Back to top
Profile PM 
7 replies since Nov. 04 2006,21:40 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: start ssh at boot time

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