From owner-freebsd-questions Thu Jul 11 3:22:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FCF137B400 for ; Thu, 11 Jul 2002 03:22:30 -0700 (PDT) Received: from nycsmtp3out.rdc-nyc.rr.com (nycsmtp3out.rdc-nyc.rr.com [24.29.99.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A31C43E54 for ; Thu, 11 Jul 2002 03:22:29 -0700 (PDT) (envelope-from scottro@nyc.rr.com) Received: from nyc.rr.com (66-108-172-188.nyc.rr.com [66.108.172.188]) by nycsmtp3out.rdc-nyc.rr.com (8.12.1/Road Runner SMTP Server 1.0) with SMTP id g6BANpkl008148; Thu, 11 Jul 2002 06:23:57 -0400 (EDT) Date: Thu, 11 Jul 2002 06:24:47 -0500 From: Scott Robbins To: Daniel Bye Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ssh upgrade Message-ID: <20020711112447.GB4523@scott1.homeunix.net> Mail-Followup-To: Daniel Bye , freebsd-questions@FreeBSD.ORG References: <001001c2288a$51cf4050$0301a8c0@FDORRE> <20020711091250.GA5301@catflap.home.slightlystrange.or> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020711091250.GA5301@catflap.home.slightlystrange.or> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jul 11, 2002 at 10:12:50AM +0100, Daniel Bye wrote: > On Wed, Jul 10, 2002 at 11:23:25PM -0400, frederic wrote: > > Hi, > > > > I want to upgrade my version of ssh, what is the best way to do that. Whenever I tried it in the past the tar ball installed successfully but whenever I type ssh -V the old version number still shows up. I am sure I have to rename something but I am not sure what and where :-) > > > > > Note also that if you want to run the upgraded sshd, you need to set > sshd_program in /etc/rc.conf to point to the location of the new > binary: > > sshd_program="/usr/local/sbin/sshd" Actually, although the pkg-message says that, you can skip it. :) (found this out by accident.) :) As long as you rename the /usr/local/etc/rc.d/sshd.sh.sample to to sshd.sh and either turn off sshd in /etc/rc.conf or remove it entirely, the new version will start up on boot. HTH Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message