Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2000 13:14:45 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Alan Clegg <abc@bsdi.com>
Cc:        Meagan Jia Pi <meagan@e-lingo.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ssh question 
Message-ID:  <200008302014.e7UKEkU03653@ptavv.es.net>
In-Reply-To: Your message of "Wed, 30 Aug 2000 19:57:55 -0000." <20000830195755.A84709@diskfarm.firehouse.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 30 Aug 2000 19:57:55 +0000
> From: Alan Clegg <abc@bsdi.com>
> 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




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