> From: Mike Squires <[EMAIL PROTECTED]> > Date: Wed, 2 Jan 2002 09:09:36 -0500 (EST) > Sender: [EMAIL PROTECTED] > > > > There is code to start sshd in both /etc/rc and > > /usr/local/etc/rc.d/sshd.sh. > > I had this when I forgot that 4.4 installs sshd as a default and reinstalled > it from /usr/ports. I just removed the /usr/local/etc/ entry, since I'm > going to rerun buildworld, etc., after 4.5-RELEASE. > > (I'm running 4.5-PRE #2 right now)
OK. Let me try to explain what is happening and the appropriate response based on what version of sshd you want to run. You have installed the ssh port which means you probably have 3.0.1 or 3.0.2. You are running 4.5-Prerelease, so you have 2.9 installed in the base system. If you have sshd_enable="YES" in /etc/rc.conf, rc will start 2.9 from /usr/sbin. To prevent this from happening, edit your /etc/rc.conf file and comment out the sshd line. If you have /usr/local/etc/rc.d/sshd.sh, v3.0.? is being started. If V2.9 is already running, this will fail. To prevent the system from trying to start V3, "pkg_delete openssh" or "chmod 644 /usr/local/etc/rc.d/sshd.sh". Unless you have a specific reason to run V3 of openssh, I'd really suggest that you stick to the installed, standard V2.9. It's not quite the latest and greatest, but it does get all security patches and is consistent across FreeBSD systems. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message