Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 15:50:39 -0000
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        dwbear75@gmail.com
Cc:        FreeBSD Questions <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: `pkg_info | grep -i openssh` ; echo "2.9 vs 3.0.2?" [cjc]
Message-ID:  <20020409234211.D34659@blossom.cjclark.org>
In-Reply-To: <"from Hostmaster"@Video2Video.Com>
References:  <20020408221759.A31507@blossom.cjclark.org> <20020410023018.I25097-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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-security" in the body of the message



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