On Mon, Nov 3, 2008 at 21:08, Bryan Irvine <[EMAIL PROTECTED]> wrote:
> Should be in rc.conf.local?

If I'm not mistaken [1], you will only see a change in
/etc/rc.conf.local if you select 'no' for starting sshd by default.


To the OP:

> On Mon, Nov 3, 2008 at 11:28 AM, elflord woods <[EMAIL PROTECTED]> wrote:
>> and then i add enable_sshd=YES in /etc/rc.local

The flag name should probably be sshd_flags and not enable_sshd. When
in doubt: look at /etc/rc.conf, but be sure to save changes to
/etc/rc.conf.local to survive upgrades, etc.

If you do not see sshd(8) starting upon reboot yet have selected
'yes', you would do best to check your logs and see where the problem
is. Did you change any files relating to sshd?


>> but then it complains that it could not load host key

What message are you getting w.r.t. the host keys? Report what errors
you see instead of letting others guess. If e.g. you are trying to
write to a read-only location, the (logs of the) boot up sequence may
give useful clues.

Regards,

Rogier


References:
1. OpenBSD CVSweb - src/distrib/miniroot/install.sub - r1.436
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/miniroot/install.sub?rev=1.436

-- 
If you don't know where you're going, any road will get you there.

Reply via email to