Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 12:34:23 +0200
From:      Erik Stian Tefre <erik@tefre.com>
To:        Jordi Espasa Clofent <jespasac@minibofh.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Upgrade OpenSSH in 6.3 and 7.0 RELENG
Message-ID:  <4A38C6AF.70809@tefre.com>
In-Reply-To: <4A38AF82.8050407@minibofh.org>
References:  <4A38AF82.8050407@minibofh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A38C6AF.70809>