Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am currently trying to compile OpenSSH on Ubuntu. I am following the steps below which I got from the openssh website; (ref: http://www.openssh.com/openbsd.html)

OpenSSH 6.2: March 22, 2013 ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-6.2.tar.gz

# cd /usr/src/usr.bin
# tar xvfz …/openssh-6.2.tar.gz
# cd ssh
# make obj    ←--------------------  error message
# make cleandir
# make depend
# make
# make install
# cp ssh_config sshd_config /etc/ssh

and restart sshd.

I am having the error message below when I reached the command make obj.

root@ubuntu:/usr/bin/ssh# make obj
Makefile:3: *** missing separator.  Stop.
root@ubuntu:/usr/bin/ssh# 

Can anyone please guide me if you can and let me know how I can compile the source code and run it? I have a project where I need to change a config in the source code of openssh, this is the reason why I want to know how to compile and run the source code properly.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You have downloaded the wrong version, and you are looking at the wrong directions. You can't build the BSD version on Linux, you need the portable version.

share|improve this answer
    
thanks, I followed the steps and installed zlib and OpenSSL. I am having the error message while trying to compile and install openssh: root@ubuntu:/usr/src/openssh-5.0p1# make make: *** No targets specified and no makefile found. Stop. root@ubuntu:/usr/src/openssh-5.0p1# make install make: *** No rule to make target install'. Stop. root@ubuntu:/usr/src/openssh-5.0p1# make install make: *** No rule to make target install'. Stop. root@ubuntu:/usr/src/openssh-5.0p1# can you please help.. –  Irfaan Coonjah Apr 4 '13 at 13:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.