start ssh at boot timeForum: HD Install Topic: start ssh at boot time started by: lothario Posted by lothario on Nov. 04 2006,21:40
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? Posted by ^thehatsrule^ on Nov. 05 2006,04:36
I don't think 'traditional' hd-installs parse some frugal calls..Just add the command to start it in one of the startup files. Posted by lothario on Nov. 05 2006,04:57
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. Posted by mikshaw on Nov. 05 2006,05:46
/etc/init.d/ssh start
Posted by ^thehatsrule^ on Nov. 05 2006,05:47
Usually system services can be found in /etc/init.dYou can try /etc/init.d/ssh start Posted by lothario on Nov. 05 2006,08:00
Thanks to both of you.It works now. Posted by chaostic on Nov. 06 2006,06:55
Uhh, if your ssh server dies/needs to be rebooted, how will you do it via a ssh login?! Posted by lothario on Nov. 06 2006,07:27
Exactly. That is why I took the 2 suggestions mentioned above: /etc/init.d/ssh start |