* Erik Stian Tefre <e...@tefre.com> [2009-06-17 12:34]: > Jordi Espasa Clofent wrote: > > ¿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.
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=yes 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 _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"