Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 17:01:47 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        "Harold A. Mackey" <mackeyha2@hotmail.com>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: Unistalling/Installing sshd
Message-ID:  <20020717050147.GA86068@grimoire.chen.org.nz>
In-Reply-To: <OE44bUXpqekenROwuWu00008a6b@hotmail.com>
References:  <OE44bUXpqekenROwuWu00008a6b@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                                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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020717050147.GA86068>