From owner-freebsd-security Sun Apr 7 0:55: 3 2002 Delivered-To: freebsd-security@freebsd.org Received: from nycsmtp2out.rdc-nyc.rr.com (nycsmtp2out.rdc-nyc.rr.com [24.29.99.227]) by hub.freebsd.org (Postfix) with ESMTP id E2C1E37B405; Sun, 7 Apr 2002 00:54:57 -0800 (PST) Received: from scott1.nyc.rr.com (24-168-24-239.nyc.rr.com [24.168.24.239]) by nycsmtp2out.rdc-nyc.rr.com (8.12.1/Road Runner SMTP Server 1.0) with SMTP id g378qcu0011691; Sun, 7 Apr 2002 04:52:38 -0400 (EDT) Date: Sun, 7 Apr 2002 04:55:29 -0400 From: Scott Robbins To: Peter Leftwich Cc: FreeBSD-Questions@FreeBSD.ORG, FreeBSD-Security@FreeBSD.ORG Subject: Re: `pkg_info | grep -i openssh` ; echo "2.9 vs 3.0.2?" Message-Id: <20020407045529.2999f2fa.scottro@nyc.rr.com> In-Reply-To: <20020406235622.O877-100000@66-75-1-142.san.rr.com> References: <20020406235622.O877-100000@66-75-1-142.san.rr.com> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 7 Apr 2002 00:00:55 -0800 (PST) Peter Leftwich wrote: > prompt$ pkg_info | grep -i openssh > openssh-3.0.2 OpenBSD's secure shell client and server (remote > login prog > > I just upgraded (or tried to upgrade) openssh on my FreeBSD > 4.5-RELEASE box using /stand/sysinstall but I get this (ver. 2.9??) > when I type: > > prompt$ ssh -V > OpenSSH_2.9 FreeBSD localisations 20011202, SSH protocols 1.5/2.0, > OpenSSL 0x0090601f > > pkg_help -r --source majordomo? ;-) > > Probably the simplest way to upgrade to 3.1 (which seems to be advisable in itself) is Get the source tarball from ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-3.1p1.tar.gz Unzip it. tar -zxvf openssh-3.1p1.tar.gz CD to the new directory cd openssh-3.1p1 Configure it with the following parameters ./configure --with-pam --sysconfdir=/etc/ssh --prefix=/usr make; make install killall -HUP sshd I posted about this recently, and someone mentioned that there is a way to get the same result by using ports and referred me to another web page. After looking at that page, it seemed to me that this way is far less work.(This solution given me by Michael Smith, as I don't want to steal the credit) Thanks Scott Robbins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message