From owner-freebsd-questions Tue Jul 16 22: 1:54 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 B0BD237B401 for ; Tue, 16 Jul 2002 22:01:51 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D00D743E67 for ; Tue, 16 Jul 2002 22:01:50 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.5/8.12.5) with ESMTP id g6H51mGU086141; Wed, 17 Jul 2002 17:01:48 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.5/8.12.5/Submit) id g6H51l0a086140; Wed, 17 Jul 2002 17:01:47 +1200 (NZST) Date: Wed, 17 Jul 2002 17:01:47 +1200 From: Jonathan Chen To: "Harold A. Mackey" Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: Unistalling/Installing sshd Message-ID: <20020717050147.GA86068@grimoire.chen.org.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Jul 16, 2002 at 11:11:07PM -0400, Harold A. Mackey wrote: > Folks > I am trying to upgrade ssh because of a recent vulnerability. Trouble is I can't seem to install the latest version of openssh (3.4pl1) I have tried compiling this and I get a successful compile but cannot seem to make the other one go away. Since sshd is compiled in the installation (4.6) I cannot find a way to uninstall it. If I type sshd --version I get an error and > > sshd: illegal option -- v > sshd version OpenSSH_2.9 FreeBSD localisations 20020307 > > which seems to indicate that the version I installed is not the one serving up ssh. How does one do this? > Add the following line in /etc/rc.conf: sshd_program="/usr/local/sbin/sshd" # path to sshd. Make sure you invoke the newly installed version of ssh by appropriate PATH changes. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message