From owner-freebsd-questions Fri Mar 8 13:43:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from marvin.fusionary.com (marvin.fusionary.com [208.254.161.131]) by hub.freebsd.org (Postfix) with ESMTP id 20D3A37B400 for ; Fri, 8 Mar 2002 13:43:12 -0800 (PST) Received: by marvin.fusionary.com (Postfix, from userid 1001) id 63B7953A; Fri, 8 Mar 2002 16:51:35 -0500 (EST) Date: Fri, 8 Mar 2002 16:51:35 -0500 From: Jack Baty To: freebsd-questions@FreeBSD.ORG Subject: Re: SSH in /usr/bin and OpenSSH 3.1 in ports Message-ID: <20020308215135.GF53128@marvin.fusionary.com> Reply-To: Jack Baty Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i X-Uptime: 3:40PM up 16 days, 6:25, 3 users, load averages: 0.30, 0.08, 0.03 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rick Hoppe wrote: > Yes and no. If you use the OpenSSH port (/usr/ports/security/openssh/), I > believe a sshd-startupscript is placed in /usr/local/etc/rc.d/ In that > case > Kevin is correct. But if you install the OpenSSH-portable version > (/usr/ports/security/openssh-portable/), no additional startupscript is put > in /usr/local/etc/rc.d/ In that case you need to modify /etc/rc.conf by > adding the following line: > > sshd_program="/usr/local/sbin/sshd" > Per an earlier message (which I've deleted), this is what I did... # cd /usr/ports/security/openssh-portable # make clean # make -DOPENSSH_OVERWRITE_BASE # make -DOPENSSH_OVERWRITE_BASE install Seemed to put everything in the normal, non-port locations and appears to be working correctly... sshd version OpenSSH_3.1p1 # ls -l /usr/sbin/sshd -rwxr-xr-x 1 root wheel 244060 Mar 8 07:31 /usr/sbin/sshd # ls -l /usr/bin/ssh* -rws--x--x 1 root 214928 Mar 8 07:31 /usr/bin/ssh* -rwxr-xr-x 1 root 74236 Mar 8 07:31 /usr/bin/ssh-add* -rwxr-xr-x 1 root 40784 Mar 8 07:31 /usr/bin/ssh-agent* -rwxr-xr-x 1 root 78352 Mar 8 07:31 /usr/bin/ssh-keygen* -rwxr-xr-x 1 root 136888 Mar 8 07:31 /usr/bin/ssh-keyscan* Can I now leave rc.conf alone? (sshd_enable="YES") Can I continue to upgrade this same way from the ports later? Seems like there must be something needed in make.conf. Thanks. -- Jack Baty Fusionary Media To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message