From owner-freebsd-security Fri Jul 5 13:26:47 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 586A037B400; Fri, 5 Jul 2002 13:26:43 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 965C143E09; Fri, 5 Jul 2002 13:26:42 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020705202641.GXGM29588.sccrmhc01.attbi.com@blossom.cjclark.org>; Fri, 5 Jul 2002 20:26:41 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g65KQfJK018810; Fri, 5 Jul 2002 13:26:41 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g65KQe9X018809; Fri, 5 Jul 2002 13:26:40 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Fri, 5 Jul 2002 13:26:40 -0700 From: "Crist J. Clark" To: Michael Sharp Cc: freebsd-security@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: ssk-keygen Message-ID: <20020705132640.B17982@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20020704013131.1f7a014f.freebsd@ec.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020704013131.1f7a014f.freebsd@ec.rr.com>; from freebsd@ec.rr.com on Thu, Jul 04, 2002 at 01:31:31AM -0400 X-URL: http://people.freebsd.org/~cjc/ 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 On Thu, Jul 04, 2002 at 01:31:31AM -0400, Michael Sharp wrote: > I did a cvsup of RELENG_4 about 2 hours ago ( July 4th @ 12:05 am )and noticed the new openssh3.4p1 and pam.conf source so I decided to make world. On reboot, ssh-keygen fails to make RSA keys because in rc.network there is no -t rsa option when running ssh-keygen. ***I changed it*** and all is well. This is likely to come up on the questions and security list for those that did a cvsup at about the same time I did. I'm sure its been discovered and fixed by now. > > *** > if [ ! -f /etc/ssh/ssh_host_key ]; then > echo ' creating ssh RSA host key'; > /usr/bin/ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_key > *** You told it to generate the wrong key. ssh_host_key should hold a protocol 1 key, /usr/bin/ssh-keygen -t rsa1 -N "" -f /etc/ssh/ssh_host_key ^ And yes, this has been fixed in RELENG_4. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message