From nobody@FreeBSD.org  Fri May  4 21:00:00 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9E1C7106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 May 2012 21:00:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7BB488FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 May 2012 21:00:00 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q44L00IP000387
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 4 May 2012 21:00:00 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q44L009P000386;
	Fri, 4 May 2012 21:00:00 GMT
	(envelope-from nobody)
Message-Id: <201205042100.q44L009P000386@red.freebsd.org>
Date: Fri, 4 May 2012 21:00:00 GMT
From: Florian Heigl <florian.heigl@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: openssh-portable looks for ecdsa key but none is generated
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167591
>Category:       ports
>Synopsis:       security/openssh-portable looks for ecdsa key but none is generated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bdrewery
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 04 21:00:31 UTC 2012
>Closed-Date:    Fri Aug 24 00:45:12 UTC 2012
>Last-Modified:  Fri Aug 24 00:45:12 UTC 2012
>Originator:     Florian Heigl
>Release:        8.3
>Organization:
>Environment:
FreeBSD xen08.xenvms.de 8.3-STABLE FreeBSD 8.3-STABLE #1: Wed May 2 00:32:40 CEST 2012 root@xen.xenvms.de:/usr/obj/usr/src/sys/XENHVM amd64
>Description:
I did a portupgrade on a system with openssh from ports and replace_base ssh enabled.
Upon start it said 
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
This file is expected by the /etc/ssh/sshd_config from the port.


>How-To-Repeat:
Install older version of openssh from ports and replace base
then upgrade to 5.3+ openssh.
>Fix:
Normally FreeBSD builds the keys at start of the init script.
A fix will probably have to worry about replacing /etc/rc.d/ssh. 

donno :)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->bdrewery 
Responsible-Changed-By: bdrewery 
Responsible-Changed-When: Thu Aug 2 22:51:24 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167591 

From: Bryan Drewery <bdrewery@FreeBSD.org>
To: florian.heigl@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/167591: security/openssh-portable looks for ecdsa key but
 none is generated
Date: Thu, 02 Aug 2012 17:52:49 -0500

 This was likely fixed by r299902.
 
 r299902 | sunpoet | 2012-06-24 12:51:21 -0500 (Sun, 24 Jun 2012) | 5 lines
 - Fix ECDSA key generation in openssh rc.d script
 
 Can you update to the latest and see if the problem still exists?
 
 -- 
 Regards,
 Bryan Drewery
 bdrewery@freenode/EFNet
 
State-Changed-From-To: open->closed 
State-Changed-By: bdrewery 
State-Changed-When: Fri Aug 24 00:45:11 UTC 2012 
State-Changed-Why:  
Fixed by r299902 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167591 
>Unformatted:
