Skip site navigation (1)Skip section navigation (2)
Date:      8 Mar 2005 23:38:40 -0500
From:      james.cook@utoronto.ca
To:        "Tsu-Fan Cheng" <tfcheng@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: "./sshd start" then nothing
Message-ID:  <20050309043840.GA31147@skywolf.cdf.toronto.edu>
In-Reply-To: <f84c385805030820191eb5915@mail.gmail.com>
References:  <f84c385805030820191eb5915@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050309043840.GA31147>