From owner-freebsd-questions Wed Aug 30 13:14:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 40C9F37B423 for ; Wed, 30 Aug 2000 13:14:51 -0700 (PDT) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id e7UKEkU03653; Wed, 30 Aug 2000 13:14:46 -0700 (PDT) Message-Id: <200008302014.e7UKEkU03653@ptavv.es.net> To: Alan Clegg Cc: Meagan Jia Pi , freebsd-questions@FreeBSD.ORG Subject: Re: ssh question In-reply-to: Your message of "Wed, 30 Aug 2000 19:57:55 -0000." <20000830195755.A84709@diskfarm.firehouse.net> Date: Wed, 30 Aug 2000 13:14:45 -0700 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Wed, 30 Aug 2000 19:57:55 +0000 > From: Alan Clegg > Sender: owner-freebsd-questions@FreeBSD.ORG > > Unless the network is lying to me again, Meagan Jia Pi said: > > > # ps ax | grep ssh > > 6440 ?? Is 0:00.06 /usr/local/sbin/sshd (sshd2) > > 25853 ?? S 0:00.40 /usr/local/sbin/sshd (sshd2) > > > > How can I run my ssh daemon? > > It *IS* running. SOME ssh daemon is running. It is possibly a version that was a port in older versions of FreeBSD. I was bitten by this. The OpenSSH version in v4.0 and up is in /usr/sbin, not /usr/local/sbin. Go to /usr/local/etc/rc.d and remove the ssh startup script from there. That will prevent the old one from starting. Then do 'pkg_version | grep ssh' and, if it shows an ssh, use pkg_delete to get rid of it. To automatically start sshd, add 'sshd_enable="YES"' to /etc/rc.conf. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message