compiling and installing OpenSSH 3.0.2

From: Andrew Falanga (ExcaliburAF@nospam.netscape.net)
Date: 02/28/02


From: Andrew Falanga <ExcaliburAF@nospam.netscape.net>
Date: Thu, 28 Feb 2002 12:05:35 -0700

Hello to everyone,

     Ok, here's my problem. I've got to get OpenSSH running on a Cobalt
Qube. I searched through cobalts web site and no "easy" installation
for OpenSSH was available. So, I downloaded a source rpm from
ftp.openbsd.org/lot's/more/dirs/here. This proved to be quite useless.
  So, I went for downloading the source packages, ie.
openssh-3.0.2p1.tar.gz.

     After downloading, I unpacked via tar -zxvf, in to /usr/local/src.
  I then did less INSTALL, to read up on how to go about the install.
It meantioned that I'd need a current version of OpenSSL, ie 0.6.x - or
higher. After doing some checking, I discovered that I didn't have any
OpenSSL libraries installed, of any version. So, I downloaded
openssl-0.9.6c.tar.gz. Did the same procedure and unpacked to
/usr/local/src.

     Did the build and install, ie, ./config, make, make test, and make
install. Everything went great. Now, I stuck to defaults, didn't pass
./config any special setting. Therefore, everything was installed to
/usr/local/ssl. Now, back to my installtion of OpenSSH.

     I do ./configure and everything is going great until...it bombs out
saying it can't find a valid SSL library. I read through INSTALL, and
find a --with-ssl-dir= option to pass to ./configure. I do this using
the directory meantioned above. Same result. I check to see if
/usr/local/ssl actually exits. It does. So I try a few different
variations of the option --with-ssl-dir= such as:

--with-ssl-dir=/usr/local/ssl/include
--with-ssl-dir=/usr/local/ssl/lib

    I'm sure you get the idea. All this with the same result. So, what
am I missing? I looked through config.log as the exit code suggests,
and beside being completely lost, I find several errors that the
configure script can't find openssl/rand.h. In which case, it's
absolutely correct, no such directory or file exists.

    So, simply put, what do I do and where do I go?

Andy



Relevant Pages

  • Re: trojaned SSHD ?
    ... I'd recommend moving to OpenSSH, which supports both ssh1 and ssh2 ... platforms, including Solaris. ... Information relevant to the installation of SSH on NCMIR systems. ... * Install Zlib 1.1.2 libraries, compiling from source, on Solaris and IRIX ...
    (Focus-SUN)
  • Re: Authentication failed suddenly
    ... I had to play the gcc re-installation game to get OpenSSH 3.4p1 to ... this is absolutely no reason to tell people to stay away from ... On both the Solaris installs I did, I built with the default privsep ... actually the 'make install' did the latter for me) - ...
    (comp.security.ssh)
  • Re: OpenSSL/0.9.7c-p1 & OpenSSH_3.5p1
    ... which means that all known bugs in OpenSSL and OpenSSH will have been ... If you install from ports, there is a facility for you to install the ... port in such a way as to overwrite the equivalents in the base system. ... Otherwise, if you choose to upgrade to a different source branch, you ...
    (freebsd-questions)
  • Fw: Re: OpenSSL/0.9.7c-p1 & OpenSSH_3.5p1
    ... which means that all known bugs in OpenSSL and OpenSSH will have been ... If you install from ports, there is a facility for you to install the ... port in such a way as to overwrite the equivalents in the base system. ... Otherwise, if you choose to upgrade to a different source branch, you ...
    (freebsd-questions)
  • RE: OpenSSH b0rked (was RE: Problems with IPFW patch)
    ... fix was the config file. ... No reboots or restarting sshd necessary. ... > Subject: RE: OpenSSH b0rked ... >> annoying install sequence - you can't define where it gets ...
    (FreeBSD-Security)