From owner-freebsd-security Fri Jul 26 5:58:48 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73A1737B400; Fri, 26 Jul 2002 05:58:44 -0700 (PDT) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.135.138.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 882F443E6A; Fri, 26 Jul 2002 05:58:42 -0700 (PDT) (envelope-from fanf@chiark.greenend.org.uk) Received: from fanf by chiark.greenend.org.uk with local (Exim 3.12 #1) id 17Y4g1-00049b-00 (Debian); Fri, 26 Jul 2002 13:58:37 +0100 Date: Fri, 26 Jul 2002 13:58:37 +0100 From: Tony Finch To: des@freebsd.org, freebsd-security@freebsd.org Cc: dot@dotat.at Subject: ssh host key inconsistency Message-ID: <20020726135837.A7551@chiark.greenend.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I note that rc.network is now creating ssh host keys in both DSA and RSA forms, but our sshd is only using the DSA key. Shall I commit this patch which reverts one of our local changes? Tony. -- f.a.n.finch http://dotat.at/ NORTH BAILEY: SOUTHWESTERLY 5 TO 7. SQUALLY SHOWERS. GOOD. --- servconf.c 3 Jul 2002 22:11:43 -0000 1.3.2.14 +++ servconf.c 26 Jul 2002 12:52:41 -0000 @@ -145,6 +145,8 @@ _PATH_HOST_KEY_FILE; if (options->protocol & SSH_PROTO_2) { options->host_key_files[options->num_host_key_files++] = + _PATH_HOST_RSA_KEY_FILE; + options->host_key_files[options->num_host_key_files++] = _PATH_HOST_DSA_KEY_FILE; } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message