From owner-freebsd-questions Wed Apr 10 0:23:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 7155337B417; Wed, 10 Apr 2002 00:23:43 -0700 (PDT) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 0DFB628C3D; Wed, 10 Apr 2002 03:23:43 -0400 (EDT) Date: Wed, 10 Apr 2002 03:23:43 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: Cc: FreeBSD Questions , FreeBSD Security Subject: Re: `pkg_info | grep -i openssh` ; echo "2.9 vs 3.0.2?" [cjc] In-Reply-To: <20020409234211.D34659@blossom.cjclark.org> Message-ID: <20020410032001.A25097-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com 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 On Tue, 9 Apr 2002, Crist J. Clark wrote: > PL> # mv /usr/bin/ssh /usr/bin/ssh_2.9_old_dont_use > PL> # ln -s /usr/local/bin/ssh /usr/bin/ssh > PL> 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 The "huh" was more of a thinking-aloud. Actually, I've already done: prompt$ echo $PATH ...and since this included /usr/local/bin I just rm'ed the ssh in /usr/bin then did `rehash` and `which ssh` and all is quite clean, even csh'y clean (I use tcsh). Thanks again. -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message