From owner-freebsd-questions@freebsd.org Fri Mar 11 07:54:39 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 D43DFACB136 for ; Fri, 11 Mar 2016 07:54:39 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 64A28ADA for ; Fri, 11 Mar 2016 07:54:39 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id l68so7133478wml.0 for ; Thu, 10 Mar 2016 23:54:39 -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=UoHApOwSdbYlVh/WiAIgC7lPtIUm6a9nC1DEQZ2zBPU=; b=jtArO5bC0VPLZ6nc2kQs4J50y/+Y2c99/22JQm8t4C+9o83epb3L6l+BEH6vNkRieE hWfeLggA5WMmDWD7xa9O2j0MrYHPL588OFuI85cRf0N1F5qRLh6dIKtlVj3rNnZTUZBb +MmqKdjgIFhBEMuzTnx9GOwyrEy7k8MIrWP/rFBdi64cGDGVuE7LySRU7pXtz3mCvvg/ GcSnJXQh4KdqGgY7jyIuM+sVF14u2pZ6fjKyQeQ/7pWcBzmo0ihyhBhzExDAhzX2k0U4 J07Vapx+LJKYhzR2tYonXeqJmZIdDd8GZJoaNzp1a/JuqeTPENzSU1lb1D/L92G9GCTP lCRg== 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=UoHApOwSdbYlVh/WiAIgC7lPtIUm6a9nC1DEQZ2zBPU=; b=dlxkHvp7fTFhnBIe9PRPclr4wSvbgkvzRkiRif+dvNztF5l48WGwhd8Yq3hKQ55aul cbMo7NAu+aPAPSUqrBYh0cPbUoBOFep0MSCHuLZFMrMQaH+AkKOFV5I84gG1Q88PWhXs qnRV39SsDcpEBD96ISULspazonNjwpNZHWQ704LQCBjZYmmsSfd/61zfgvmDPgNC4pxx PXxYaPcz+JZOGwQxwHlpIccDVd1KR5PBrYt3JmYOOLLx6VHIGWkFRE/uEq799j4Ri/Ch 8OBFjQMNUvZxkeK6UFfjuRT9HtRUuBX8SAzfUUIQoNPBr42V+Y8xhoEhiPvh+3E0ljoj xZQg== X-Gm-Message-State: AD7BkJKIZhS6b3O/vthIOf4H8eB0NIH/UV0qD5Ix/pQXDhEEebhxt6VIAlFkOTorEjH/LOe5aMNoaR9DWgKwFw== MIME-Version: 1.0 X-Received: by 10.28.138.198 with SMTP id m189mr1255131wmd.19.1457682877896; Thu, 10 Mar 2016 23:54:37 -0800 (PST) Received: by 10.28.31.143 with HTTP; Thu, 10 Mar 2016 23:54:37 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Mar 2016 07:54:37 +0000 Message-ID: Subject: Re: SSH and FreeBSD-11 From: krad To: Carmel Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 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 07:54:40 -0000 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" >