From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 21:10:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B5D0416A41F for ; Tue, 30 Aug 2005 21:10:14 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC2BF43D49 for ; Tue, 30 Aug 2005 21:10:11 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by xproxy.gmail.com with SMTP id i31so844473wxd for ; Tue, 30 Aug 2005 14:10:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f6j6ySs3pPc6IBfC32BXPGJ4BfgYUw4VoMy2jEw5VA/3Wwx+L2iMa9xBMF+BJRnLOkC8rywxEDatXdfy3kUPZwl0N5O8ElHDz0edvEOmwWcmd0Pfh+VH4S9b1xmGiXxKclc+Xu/MHvPPKPn0L32/3TFrAG5+jwLrRx6zepcEIvA= Received: by 10.70.62.12 with SMTP id k12mr142458wxa; Tue, 30 Aug 2005 14:10:08 -0700 (PDT) Received: by 10.70.104.20 with HTTP; Tue, 30 Aug 2005 14:10:08 -0700 (PDT) Message-ID: <35c231bf05083014106d038fa1@mail.gmail.com> Date: Tue, 30 Aug 2005 14:10:08 -0700 From: David Kirchner Sender: dpkirchner@gmail.com To: smalone@udallas.edu, FreeBSD Questions In-Reply-To: <4314C9E0.5020607@udallas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4314C9E0.5020607@udallas.edu> Cc: Subject: Re: How to get /etc/ssh back X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 21:10:14 -0000 On 8/30/05, Sean P. Malone wrote: > The system does ask for entropy upon the next reboot but the generation > of the keys and startup of sshd fail since there is no /etc/ssh. >=20 > If the install program doesn't create /etc/ssh, what does and how do I > get it back? >=20 > Thanks! >=20 > Sean Judging by the Makefile in /usr/src/etc/Makefile, I'd say that all you may have to do is mkdir /etc/ssh, and copy /usr/src/crypto/openssh/{ssh_config,sshd_config,moduli} to /etc/ssh . Then reboot and that entropy thing should work properly. (Alternately, I think you could just run /etc/rc.d/sshd start ).