LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   SSH Startup (https://www.linuxquestions.org/questions/linux-general-1/ssh-startup-15037/)

jimval7 02-25-2002 11:51 AM

SSH Startup
 
I installed SSH on my laptop and I put the startup daemon in /etc/rc.d/init.d. When I reboot, it does not startup automactically? I have to go start it manually. WHere can I put it so that it can start when I reboot? in /etc/rc.d/rc1.d? i dont know where?

acid_kewpie 02-25-2002 11:56 AM

you should have some sort of program like sysvinit, tkinit r some sort of "control center" where you can control that, but at a lower level, just do somethign like

ln -s /etc/rc.d/init.d/sshd /etc/rc3.d/S80sshd

assuming your normal runlevel is 3, if you boot straight to X, it'll be 5 instead. also there is chkconfig, which should do it aswell

chkconfig 35 sshd on


All times are GMT -5. The time now is 02:25 PM.