From owner-freebsd-stable@FreeBSD.ORG Wed Jun 17 10:53:00 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EDCC1065672 for ; Wed, 17 Jun 2009 10:53:00 +0000 (UTC) (envelope-from erik@tefre.com) Received: from mta1-filtered.netlife.no (mail.netlife.no [62.92.26.227]) by mx1.freebsd.org (Postfix) with ESMTP id 370778FC34 for ; Wed, 17 Jun 2009 10:53:00 +0000 (UTC) (envelope-from erik@tefre.com) Received: from localhost (unknown [10.0.68.4]) by mta1-filtered.netlife.no (Postfix) with ESMTP id E79E1288B6; Wed, 17 Jun 2009 12:34:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at netlife.no Received: from mta1.netlife.no ([10.0.68.4]) by localhost (amavis2.netlife.no [10.0.68.4]) (amavisd-new, port 10024) with ESMTP id W4AVV22Mg9Wq; Wed, 17 Jun 2009 10:34:24 +0000 (UTC) Received: from baviandesktop.netlife.no (kontor.netlife.no [217.13.28.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mta1.netlife.no (Postfix) with ESMTP id 3AB082889C; Wed, 17 Jun 2009 12:34:24 +0200 (CEST) Message-ID: <4A38C6AF.70809@tefre.com> Date: Wed, 17 Jun 2009 12:34:23 +0200 From: Erik Stian Tefre User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Jordi Espasa Clofent References: <4A38AF82.8050407@minibofh.org> In-Reply-To: <4A38AF82.8050407@minibofh.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: Re: Upgrade OpenSSH in 6.3 and 7.0 RELENG X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 10:53:00 -0000 Jordi Espasa Clofent wrote: > I need to upgrade the OpenSSH from the shiped 4.5p1 versions in 6.x and > 7.x branches to 4.5p2 or higher(1). [...] > ¿How can I upgrade the OpenSSH in the _same_ RELENG? ¿Maybe using the > ports? portsnap fetch update cd /usr/ports/security/openssh-portable/ make install clean /etc/rc.d/sshd stop Set sshd_enable="NO" in /etc/rc.conf Set openssh_enable="YES" in /etc/rc.conf /usr/local/etc/rc.d/openssh start This will enable the 5.2p1 sshd. The new client is installed as /usr/local/bin/ssh. Warnings: The above instructions are dumped from brain, untested and may be incomplete. It Worked For Me(tm) 3 months ago on 6.3. And your box will probably get a new host key btw. -- Erik