`pkg_info | grep -i openssh` ; echo "2.9 vs 3.0.2?" [cjc]
Crist J. Clark
crist.clark at attbi.com
Fri Sep 24 08:50:39 PDT 2004
On Wed, Apr 10, 2002 at 02:35:16AM -0400, Peter Leftwich wrote:
> On Mon, 8 Apr 2002, Crist J. Clark wrote:
> > 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 at alum.mit.edu,cjclark at jhu.edu
> > http://people.freebsd.org/~cjc/ | cjc at 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/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 at alum.mit.edu
| cjclark at jhu.edu
http://people.freebsd.org/~cjc/ | cjc at freebsd.org
To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
More information about the freebsd-questions