Upgrade OpenSSH in 6.3 and 7.0 RELENG

Erik Stian Tefre erik at tefre.com
Wed Jun 17 10:53:00 UTC 2009

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.


More information about the freebsd-stable mailing list