Re: Proper way to upgrade OpenSSH on FreeBSD 4.9
On Tue, 20 Jan 2004 10:50:06 -0800 Jason Williams <[EMAIL PROTECTED]> wrote: > My question is, what is the proper method in doing so? > I see that, currently in the ports tree, openssh 3.7.1p2 is available > for install. > There is also the possibility of installing from source. > I would think that using the ports tree may be a very good option, as > you can upgrade later with portupgrade. >From ports should be better imho. It's a source install too. Additionally it is automated and integrated. > > With that in mind, what is the best method in doing this? You have (at least) two possibilities when installing from ports. a) "normal" installation will install the new sshd to /usr/local/sbin/ and leave the old version as it is. then change rc.conf : sshd_program="/usr/local/sbin/sshd" sshd_flags="-f /usr/local/etc/ssh/sshd_config" or whereever you install the files to. This way you can change back to the old version by changing the rc.conf back to its defaults. b) "overwrite" installation specify OPENSSH_OVERWRITE_BASE (check the Makefile, but that should be it) when installing the port. This overwrites the old base system sshd. No need for rc.conf changes, but be sure to define NO_OPENSSH= YES in your make.conf - otherwise the next buildworld will overwrite your port installed sshd again. Joerg pgp0.pgp Description: PGP signature
Proper way to upgrade OpenSSH on FreeBSD 4.9
Good morning everyone. I just had a couple of questions about upgrading OpenSSH on a FreeBSD 4.9 box. Being that 4.9 ships with: OpenSSH_3.5p1 FreeBSD-20030924, SSH protocols 1.5/2.0, OpenSSL 0x0090703f I wanted to upgrade my version of OpenSSH to a more recent version. My question is, what is the proper method in doing so? I see that, currently in the ports tree, openssh 3.7.1p2 is available for install. There is also the possibility of installing from source. I would think that using the ports tree may be a very good option, as you can upgrade later with portupgrade. With that in mind, what is the best method in doing this? If I decided to use the ports tree to upgrade my openssh, do I need to do anything before hand? Backup? Save etc...(I should mention, im testing this on a test system first). I appreciate the input and advice anyone lends. Cheers, Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"