Subject: Adding sshd to rc.local
To: None <port-mac68k@netbsd.org>
From: Matthew Theobalds <mtheobalds@mac.com>
List: port-mac68k
Date: 04/20/2001 22:25:19
Previously, I had enabled sshd to startup via root's crontab.
I have now decided to do things a little better and start it up via rc.
Since I don't like restarting, and if I'm removing it from the crontab,
I want to be sure it's right; could someone confirm that merely adding
this to rc.local will work nicely?
if [ -x /usr/sbin/sshd ]; then
/usr/sbin/sshd;
echo 'Starting sshd. Hang tight.';
fi
I chose rc.local as I wouldn't want people logging in too early. Or is
there something which works even later?
All the best.
Matthew