How to make sshd start automatically at boot-up?

kitepilot at kitepilot.com kitepilot at kitepilot.com
Fri Feb 26 09:09:13 MST 2010


There are essentially 2 ways to accomplish this:
1.- The BSD way
2.- The System-V way. 

If you have a directory
/etc/init.d
and/or
/etc/rcd./init.d
chances are you have a System-V in front of you (most likely, unless you are 
running some BSD flavor or Slackware) 

For a System-V fix all you need is:
"A symlink pointing to your daemon start-up script in every level you want 
it running"
The above is a fairly dense statement, but if you:
ln -s ../init.d/ssh /etc/rc3.d/S16ssh
(adjust for your path)
It will fire up SSH on init 3.
Not complete, but it fixes your immediate problem.
YMMV...
ET 

 

joe at actionline.com writes: 

> Every time I start-up my laptop after it has been powered off,
> I have to run /etc/init.d/sshd start again.  What do I need
> to do to make this start automatically every time I power up
> this laptop? 
> 
>  
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list