From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 04:38:41 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F14DA16A4CE for ; Wed, 9 Mar 2005 04:38:41 +0000 (GMT) Received: from smtp.cdf.toronto.edu (smtp.cdf.toronto.edu [128.100.31.106]) by mx1.FreeBSD.org (Postfix) with SMTP id 553F043D3F for ; Wed, 9 Mar 2005 04:38:41 +0000 (GMT) (envelope-from c3cookja@cdf.toronto.edu) Received: (qmail 30375 invoked from network); 9 Mar 2005 04:38:40 -0000 Received: from skywolf.cdf.toronto.edu (qmailr@128.100.31.202) by penguin.cdf.toronto.edu with SMTP; 9 Mar 2005 04:38:40 -0000 Received: (qmail 31218 invoked by uid 4952); 9 Mar 2005 04:38:40 -0000 Date: 8 Mar 2005 23:38:40 -0500 Message-ID: <20050309043840.GA31147@skywolf.cdf.toronto.edu> From: james.cook@utoronto.ca To: "Tsu-Fan Cheng" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: "./sshd start" then nothing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 04:38:42 -0000 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