From owner-freebsd-questions Thu Jul 11 18:19:22 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 3318837B400 for ; Thu, 11 Jul 2002 18:19:20 -0700 (PDT) Received: from spitfire.velocet.net (spitfire.velocet.net [216.138.223.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEF4243E09 for ; Thu, 11 Jul 2002 18:19:19 -0700 (PDT) (envelope-from frederic@spaz.drivel.net) Received: from FDORRE (H152.C233.tor.velocet.net [216.138.233.152]) by spitfire.velocet.net (Postfix) with SMTP id 17BC1FB4619 for ; Fri, 12 Jul 2002 01:19:18 +0000 (GMT) Message-ID: <000001c22942$2530a300$0301a8c0@FDORRE> From: "frederic" To: References: <001001c2288a$51cf4050$0301a8c0@FDORRE> <20020711091250.GA5301@catflap.home.slightlystrange.or> <20020711112447.GB4523@scott1.homeunix.net> Subject: Re: ssh upgrade Date: Thu, 11 Jul 2002 11:32:55 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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