openssh: auto start under linux 

Newsgroups: comp.security.ssh
>I can't make openssh 2.1.1p3 auto started when my machine starts, by
>putting it under rc?.d. The boot log says:

Check to see if you have an rc.local anywhere on the system. Add the line

/usr/local/sbin/sshd

to it, if it's not already in there.

If there's no rc.local, go into /etc/init.d (or maybe /etc/rc.d/init.d) and either add that line to an existing script, or use an existing script as a template to create an sshd script.

Mike Tatroe

openssh: auto start under linux 

Add:

/usr/local/sbin/sshd
exit 0

to the top of the rc.local, 'cause the rest is trying to rewrite /etc/issue everytime when it reboot.