Date: Fri, 8 Mar 2002 16:51:35 -0500 From: Jack Baty <jbaty@fusionary.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: SSH in /usr/bin and OpenSSH 3.1 in ports Message-ID: <20020308215135.GF53128@marvin.fusionary.com> In-Reply-To: <MLECKHBMGODPBDHNOIAAKEFDCNAA.mailing@rickhoppe.nl> References: <pNd%2Bw6A80Ri8EwNN@caomhin.demon.co.uk> <MLECKHBMGODPBDHNOIAAKEFDCNAA.mailing@rickhoppe.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020308215135.GF53128>