How to auto-start /etc/init.d/sshd start

Matt Graham danceswithcrows at usa.net
Sun Jul 1 13:02:03 MST 2012


From: joe at actionline.com
> How can I get the following command to run automatically
> whenever I boot up my Thinkpad?
> # /etc/init.d/sshd start <ENTER>
> 
> Normally, I have to su to root, and then run the command.

Add sshd to the default runlevel.  The exact command to do this depends on
which distro you're using.

Redhat:  chkconfig sshd on
Gentoo:  rc-update add sshd default

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see



More information about the PLUG-discuss mailing list