From owner-freebsd-questions@freebsd.org Fri Mar 11 08:36:03 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3BBDACA3A9 for ; Fri, 11 Mar 2016 08:36:03 +0000 (UTC) (envelope-from zhao6014@gmail.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84039E1 for ; Fri, 11 Mar 2016 08:36:03 +0000 (UTC) (envelope-from zhao6014@gmail.com) Received: by mail-yw0-x230.google.com with SMTP id g127so88598489ywf.2 for ; Fri, 11 Mar 2016 00:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=AEawZGzbin8Q9DW6Gh2nozg0pjKKddbGFasPoYvI4L0=; b=brA6xFmrZrSvxjczgQQ+X5JQcOsSOFkwr3WKvPoN6eD7aU2Qx8P4mJ/5zCuDoQA0od W0ic0rRvh4AkkMy4Jq8e2oEmIMgXv4Nh0uejsq20jmBBkKYtggn9zyKY2tQrELntDVBB u+OsF9pMTXvl15BUnLzzblN8qG2vHaHFqfUzWUDfGURO9Jul7hVGR56n26/C4GOrPrqb QAziYh21QwKwcdIdYprdNwkNeuXtfVMnkdQb+Huq+vqaDLNr8JV4oH+TGHxOywcKvOz3 aHOAsjlXKDTa4MR2crAg2jQ+Ix6CimGCrso6oInRwgmOhJsCHD5Pz181C+Q8039o9IPg /cDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=AEawZGzbin8Q9DW6Gh2nozg0pjKKddbGFasPoYvI4L0=; b=XxCx26HC0Gp46GJiXvJYV2mvCts7QIFNsY8qKGjwJr1Y3OmrffpJEkZkVdJWZySKJ0 NN9meuz8cX3/rbHqa9E7qNwGdrDVNcN6DgrXasF1rzHSfV+iV2wD4auTJmE/v2hUW+TL qmM4gMC9VCaO3sPtKHyNKmBBRTj9rXVCrzDehVEMvKtKtAL5+/UcQLuQJnte6uHn8ErH qR6IrT6nPLbK1tdMPlGDj2aMEuqN1bN95vEdBhi0W5242ChYrIj2aYNGMljIIlj0ty/z 9EPycHmkvfvsD5v5TUqkzuHTWVsl1ZXwwoiE8cm51fB1J1a6lklka3GZ+obLYD/mRHdr 5/7g== X-Gm-Message-State: AD7BkJKEjhruJgB+BNrKKBBa8FskaBchsaN5zx2FKdU+8UU0WR3kjerS7g1KSjpQOlVXJgYrN7ksE2I2BtFQpw== MIME-Version: 1.0 X-Received: by 10.13.233.68 with SMTP id s65mr4635466ywe.96.1457685362735; Fri, 11 Mar 2016 00:36:02 -0800 (PST) Received: by 10.37.89.194 with HTTP; Fri, 11 Mar 2016 00:36:02 -0800 (PST) Received: by 10.37.89.194 with HTTP; Fri, 11 Mar 2016 00:36:02 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Mar 2016 16:36:02 +0800 Message-ID: Subject: Re: SSH and FreeBSD-11 From: Jov To: krad Cc: Carmel , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 08:36:03 -0000 openssh in freebsd 11 will not generate dsa host key any more=EF=BC=8CI ha= ve a pr about this. 2016=E5=B9=B43=E6=9C=8811=E6=97=A5 3:54 PM=EF=BC=8C"krad" =E5=86=99=E9=81=93=EF=BC=9A > ITs probably easyist to delete the existing keys in there, then rerun the > rc script. All new keys should be generated then. Alternatively just read > the man page for ssh-keygen and create a dsa keypair. > > On 10 March 2016 at 16:16, Carmel wrote: > > > After just installing FreeBSD 11 on a new machine, I have noticed the > > following error messages upon boot: > > > > Could not load host key: /etc/ssh/ssh_host_dsa_key > > Starting sshd > > Could not load host key: /etc/ssh/ssh_host_dsa_key > > > > Those keys do not exist in "/etc/ssh". The directory looks like this: > > > > drwxr-xr-x 2 root wheel 12B 2016-03-10 10:07:21 EST ./ > > drwxr-xr-x 25 root wheel 112B 2016-03-10 10:36:32 EST ../ > > -rw-r--r-- 1 root wheel 293K 2016-03-08 02:07:32 EST moduli > > -rw-r--r-- 1 root wheel 1.7K 2016-03-08 02:07:32 EST ssh_config > > -rw------- 1 root wheel 227B 2016-03-09 13:00:54 EST > > ssh_host_ecdsa_key > > -rw-r--r-- 1 root wheel 188B 2016-03-09 13:00:54 EST > > ssh_host_ecdsa_key.pub > > -rw------- 1 root wheel 419B 2016-03-09 13:00:54 EST > > ssh_host_ed25519_key > > -rw-r--r-- 1 root wheel 108B 2016-03-09 13:00:54 EST > > ssh_host_ed25519_key.pub > > -rw------- 1 root wheel 1.6K 2016-03-09 13:00:54 EST > ssh_host_rsa_key > > -rw-r--r-- 1 root wheel 408B 2016-03-09 13:00:54 EST > > ssh_host_rsa_key.pub > > -rw-r--r-- 1 root wheel 3.7K 2016-03-10 10:23:15 EST sshd_config > > > > Is there something that I have to do? I never had this problem with > > earlier versions of FreeBSD. > > > > -- > > Carmel > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >