From owner-freebsd-questions Tue Apr 9 23:42:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 4164037B443; Tue, 9 Apr 2002 23:42:12 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020410064211.HBJK21252.rwcrmhc53.attbi.com@blossom.cjclark.org>; Wed, 10 Apr 2002 06:42:11 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g3A6gBU34938; Tue, 9 Apr 2002 23:42:11 -0700 (PDT) (envelope-from cjc) Date: Tue, 9 Apr 2002 23:42:11 -0700 From: "Crist J. Clark" To: Peter Leftwich Cc: FreeBSD Questions , FreeBSD Security Subject: Re: `pkg_info | grep -i openssh` ; echo "2.9 vs 3.0.2?" [cjc] Message-ID: <20020409234211.D34659@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020408221759.A31507@blossom.cjclark.org> <20020410023018.I25097-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020410023018.I25097-100000@earl-grey.cloud9.net>; from Hostmaster@Video2Video.Com on Wed, Apr 10, 2002 at 02:35:16AM -0400 X-URL: http://people.freebsd.org/~cjc/ 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 Wed, Apr 10, 2002 at 02:35:16AM -0400, Peter Leftwich wrote: > On Mon, 8 Apr 2002, Crist J. Clark wrote: > [snip] > > PL> My question was regarding ssh, not sshd. > > Then I shall reprhase: Are you actually running the ssh(1) in /usr/local/bin/ssh or the old one in /usr/bin/ssh? > > Crist J. Clark | cjclark@alum.mit.edu,cjclark@jhu.edu > > http://people.freebsd.org/~cjc/ | cjc@freebsd.org > > I apologize for being snippy, if I seemed so. You alone fixed my woes!!! :) > > # ssh -V > OpenSSH_2.9 FreeBSD localisations 20011202, SSH protocols 1.5/2.0, OpenSSL 0x0090601f > # which ssh > /usr/bin/ssh > # /usr/local/bin/ssh -V > OpenSSH_3.0.2, SSH protocols 1.5/2.0, OpenSSL 0x0090601f > # mv /usr/bin/ssh /usr/bin/ssh_2.9_old_dont_use > # ln -s /usr/local/bin/ssh /usr/bin/ssh > > I guess that last line isn't really necessary if I adjust my $PATH, huh? Probably, the "cleanest" thing to do is define a shell alias (assuming you use a shell that supports them), $ alias ssh /usr/loca/bin/ssh Would be the csh(1)-ish way to do it. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message