"./sshd start" then nothing
james.cook at utoronto.ca
james.cook at utoronto.ca
Tue Mar 8 20:38:42 PST 2005
On Tue, Mar 08, 2005 at 11:19:45PM -0500, Tsu-Fan Cheng wrote:
> Hi,
> I am trying to enable sshd on my freebsd5.4 prerelease (I didn't
> realize this when I cvsup the stable source). Anyway. I read something
> in the mailing list which said that I should go to /etc/rc.d, then
> execute "./sshd start" from there, this will make ssh-keygen to
> generate host key and stuff. I did this and there is nothing, the
> "ssh_host_dsa_key" is not generated. I have another box which runs
> 5.3, and it generates key when I did the same thing. I wonder where
> can it go wrong?
Did you enable ssh in rc.conf? I'm pretty sure the scripts in rc.d won't
start unless you enable them there. Alternatively, "./sshd forcestart" should
make it start no matter what. "man 8 rc.d" for more info.
> One more thing is that I witnessed there is some weird log appears
> on that 5.3 box when I boot, it goes like this:
>
> 1338 %parent R *Handler
> 1339 0 R Node
> 1340 %desc R *Handler
> 1341 %driver R *Handler
> 1342 %location R *Handler
> 1343 %pnpinfo R *Handler
> 1344 %parent R *Handler
> 1345 vga R Node
> 1346 %parent R *Handler
> 1347 0 R Node
> 1348 %desc R *Handler
> 1349 %driver R *Handler
> 1350 %location R *Handler
> 1351 %pnpinfo R *Handler
> 1352 %parent R *Handler
>
> I guess I enable something somewhere but just can't remember, any idea? thansk!
>
> --
> The Hell's Restroom Production
More information about the freebsd-questions
mailing list