From owner-freebsd-questions@FreeBSD.ORG Mon Feb 27 18:25:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C37E810656AE for ; Mon, 27 Feb 2012 18:25:15 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8758FC15 for ; Mon, 27 Feb 2012 18:25:15 +0000 (UTC) Received: by obbwc7 with SMTP id wc7so795015obb.13 for ; Mon, 27 Feb 2012 10:25:15 -0800 (PST) Received-SPF: pass (google.com: domain of kudzu@tenebras.com designates 10.182.1.104 as permitted sender) client-ip=10.182.1.104; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kudzu@tenebras.com designates 10.182.1.104 as permitted sender) smtp.mail=kudzu@tenebras.com Received: from mr.google.com ([10.182.1.104]) by 10.182.1.104 with SMTP id 8mr5655775obl.19.1330367115024 (num_hops = 1); Mon, 27 Feb 2012 10:25:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.1.104 with SMTP id 8mr5021235obl.19.1330367114958; Mon, 27 Feb 2012 10:25:14 -0800 (PST) Received: by 10.60.49.164 with HTTP; Mon, 27 Feb 2012 10:25:14 -0800 (PST) In-Reply-To: <4F4BC990.7050100@my.gd> References: <4F4BB539.7030103@gmail.com> <4F4BC990.7050100@my.gd> Date: Mon, 27 Feb 2012 10:25:14 -0800 Message-ID: From: Michael Sierchio To: Damien Fleuriot Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmC6yPlPwNAweJywJuoIO7fl9ccfveEAGSVTuV+KjPLT+OiHaLPm02d08WsRNMs53NFKcrc Cc: Adam Vande More , "freebsd-questions@FreeBSD.org" Subject: Re: Cloning a FreeBSD system 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: Mon, 27 Feb 2012 18:25:15 -0000 On Mon, Feb 27, 2012 at 10:21 AM, Damien Fleuriot wrote: >> ssh-keygen(1) is the typical method. >> > > Or just delete the existing keys and sshd will recreate them at first > boot ;) No, sshd will not create the keys. They are created by /etc/rc.d/sshd, which invokes ssh-keygen if it doesn't find the key files.