From owner-freebsd-security Wed Feb 28 22: 9:31 2001 Delivered-To: freebsd-security@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 2471037B719 for ; Wed, 28 Feb 2001 22:09:25 -0800 (PST) (envelope-from meshko@calliope.cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id BAA05006; Thu, 1 Mar 2001 01:09:04 -0500 Date: Thu, 1 Mar 2001 01:09:03 -0500 (EST) From: Mikhail Kruk To: Tony Landells Cc: "Peter C. Lai" , Subject: Re: sshd weirdness In-Reply-To: <200103010559.QAA01865@tungsten.austclear.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I reboot the machine to use the new kernel, and 1. sshd is NOT running, > > because in rc.conf, sshd_enable is set to OFF for some reason, and 2. when i > > try to ssh in from a location on the same subnet, I am told the fingerprint > > has changed. > > sshd_enable is set to OFF because you removed the package, I would assume... I think it was set off because he didn't use internal openssh before. It's probably just the default setting. Has nothing to do with the port. Port uses the script in balh/etc/rc.d > > removed, which is expected. > > No, this is the bit that's wrong. This is the startup script for OpenSSH, > and should not have been removed. no, from /usr/ports/security/ssh2/Makefile: @if [ "`grep ssh /etc/inetd.conf|grep -v ^#ssh`" = "" ]; then \ if [ ! -f ${PREFIX}/etc/rc.d/sshd.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/sshd.sh startup file."; \ ${SED} -e 's+!!PREFIX!!+${PREFIX}+' < ${FILESDIR}/sshd.sh \ > ${PREFIX}/etc/rc.d/sshd.sh; \ ${CHMOD} 751 ${PREFIX}/etc/rc.d/sshd.sh; \ fi; \ fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message