From owner-freebsd-questions Thu Jul 11 8:36: 7 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 A898337B400 for ; Thu, 11 Jul 2002 08:36:04 -0700 (PDT) Received: from spaz.drivel.net (spaz.drivel.net [209.20.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BD9F43E42 for ; Thu, 11 Jul 2002 08:36:04 -0700 (PDT) (envelope-from frederic@spaz.drivel.net) Received: by spaz.drivel.net (Postfix, from userid 1037) id 807E717406; Thu, 11 Jul 2002 11:36:03 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by spaz.drivel.net (Postfix) with ESMTP id 70FB41552D for ; Thu, 11 Jul 2002 11:36:03 -0400 (EDT) Date: Thu, 11 Jul 2002 11:36:03 -0400 (EDT) From: Frederic Dorre To: Subject: ssh upgrade Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I see, but what happens if I upgrade for the second time, will the location change? or just overwrite the old binary? Thanks, Frederic ----- Original Message ----- From: "Scott Robbins" To: "Daniel Bye" Cc: Sent: Thursday, July 11, 2002 7:24 AM Subject: Re: ssh upgrade > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message