I followed the instructions as below(https://www.openssh.com/openbsd.html). https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-7.5.tar.gz # cd /usr/src/usr.bin # tar zxvf .../openssh-7.5.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/ssh But when I input and execute "make obj" instruction, I got this error "Makefile:3: *** missing separator. Stop." And the Makefile in /usr/src/usr.bin/ssh folder is as below. --------------------------------------------------------------------------- # $OpenBSD: Makefile,v 1.15 2010/02/09 08:55:31 markus Exp $ .include <bsd.own.mk> SUBDIR= lib ssh sshd ssh-add ssh-keygen ssh-agent scp sftp-server \ ssh-keysign ssh-keyscan sftp ssh-pkcs11-helper distribution: ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/ssh_config \ ${DESTDIR}/etc/ssh/ssh_config ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/sshd_config \ ${DESTDIR}/etc/ssh/sshd_config .include <bsd.subdir.mk> --------------------------------------------------------------------------- I have no idea how to solve it? Thanks for your help.
-openssh at openssh.com On Wed, Mar 29, 2017 at 8:47 PM, CGF <cgf1993 at foxmail.com> wrote:> I followed the instructions as below(https://www.openssh.com/openbsd.html > ). > <https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-7.5.tar.gz> >Unlikely, since that says "The following versions of OpenSSH are available for putting on your OpenBSD machines" and you're trying to install it on Ubuntu. You also sent this to openssh at openssh.com, which is not mentioned on that page but where it is it says "openssh at openssh.com. [...] Not appropriate for: How-to queries, reports of problems on platforms other than OpenBSD or with third-party patches, general discussion" https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-7.5.tar.gz>You want https://www.openssh.com/portable.html -- Darren Tucker (dtucker at zip.com.au) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.