From owner-freebsd-stable@FreeBSD.ORG Wed Jun 17 11:24:31 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 0DC13106566C for ; Wed, 17 Jun 2009 11:24:31 +0000 (UTC) (envelope-from alson+ml@alm.flutnet.org) Received: from tafi.alm.flutnet.org (tafi.dsl.alm.flutnet.org [145.99.245.99]) by mx1.freebsd.org (Postfix) with ESMTP id BB14D8FC16 for ; Wed, 17 Jun 2009 11:24:30 +0000 (UTC) (envelope-from alson+ml@alm.flutnet.org) Received: from localhost (localhost [127.0.0.1]) by tafi.alm.flutnet.org (Postfix) with ESMTP id CF14C78C1E; Wed, 17 Jun 2009 13:24:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at alm.flutnet.org Received: from tafi.alm.flutnet.org ([127.0.0.1]) by localhost (tafi.alm.flutnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tt1uID8CTwcJ; Wed, 17 Jun 2009 13:24:26 +0200 (CEST) Received: by tafi.alm.flutnet.org (Postfix, from userid 1000) id 256A578C1D; Wed, 17 Jun 2009 13:24:26 +0200 (CEST) Date: Wed, 17 Jun 2009 13:24:26 +0200 From: Alson van der Meulen To: Erik Stian Tefre Message-ID: <20090617112426.GA1613@tafi.alm.flutnet.org> Mail-Followup-To: Erik Stian Tefre , Jordi Espasa Clofent , freebsd-stable@freebsd.org References: <4A38AF82.8050407@minibofh.org> <4A38C6AF.70809@tefre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4A38C6AF.70809@tefre.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Jordi Espasa Clofent , 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 11:24:31 -0000 * Erik Stian Tefre [2009-06-17 12:34]: > Jordi Espasa Clofent wrote: > > =C2=BFHow can I upgrade the OpenSSH in the _same_ RELENG? =C2=BFMaybe u= sing the > > ports? >=20 > portsnap fetch update > cd /usr/ports/security/openssh-portable/ > make install clean > /etc/rc.d/sshd stop > Set sshd_enable=3D"NO" in /etc/rc.conf > Set openssh_enable=3D"YES" in /etc/rc.conf > /usr/local/etc/rc.d/openssh start >=20 > This will enable the 5.2p1 sshd. > The new client is installed as /usr/local/bin/ssh. You can also set OVERWRITE_BASE in the config menu that will pop up if you compile the openssh-portable port for the first time (or just do make config). This will install openssh in /usr. I added NO_OPENSSH=3Dyes to make.conf (src.conf in 7.0+) so a subsequent make installworld won't overwrite it again. This will make life easier IMO because you don't have two different versions of ssh around. Having the SSH version depend on your $PATH and whether you have /usr/local mounted can be confusing, although this is not an issue for sshd. Alson