From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 04:51:14 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 3F4FF16A4CE for ; Wed, 9 Mar 2005 04:51:14 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id C77DB43D31 for ; Wed, 9 Mar 2005 04:51:13 +0000 (GMT) (envelope-from tfcheng@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so107978rng for ; Tue, 08 Mar 2005 20:51:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=DJtij1lnO7BAAgqNdpqgNMjLydPnZXXjjvNtv340TByO6OYeRwPgot14V68itaJ9CSDJuTNwgGg9otQ68uQ8stOBRZBm1LlCGI0SZaD5TvadFAzhJR6La3jkmUw04qjsF42GWMHLwVaDfxsXn/q/JPmZFAFVvlBwFXf8rNjSRxA= Received: by 10.38.73.45 with SMTP id v45mr464622rna; Tue, 08 Mar 2005 20:51:12 -0800 (PST) Received: by 10.38.86.72 with HTTP; Tue, 8 Mar 2005 20:51:12 -0800 (PST) Message-ID: Date: Tue, 8 Mar 2005 23:51:12 -0500 From: Tsu-Fan Cheng To: "james.cook@utoronto.ca" In-Reply-To: <20050309043840.GA31147@skywolf.cdf.toronto.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050309043840.GA31147@skywolf.cdf.toronto.edu> 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 Reply-To: Tsu-Fan Cheng List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 04:51:14 -0000 ha! you are right!! thansk On 8 Mar 2005 23:38:40 -0500, james.cook@utoronto.ca wrote: > 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 > -- The Hell's Restroom Production