wrong key directory

Carter, James M. (MSFC-ES31)
Tue, 20 May 2014 20:57:17 -0000

Sirs:

Trying to update OpenSSH to version openssh-6.6p1 using openssl-1.0.1g and
zlib-1.2.3. Updating both openssl and openssh at  same time. Have been running
openssh on Solaris 8 machines for years.

Has occurred on 3 mahines:
After "compiling" openssh, try to start: /opt/openssh/sbin/sshd
  Get error:
    Could not load host key: /opt/openssh-5.0p1/etc/ssh_host_rsa_key
    Could not load host key: /opt/openssh-5.0p1/etc/ssh_host_dsa_key
    Disabling protocol version 2. Could not find host key
    sshd: no host keys available -- exiting

openssh-5.0.p1 is what I am replacing. How/where is software getting reference
to software that I cannot find on machine? I am deleting installed zlib, openssl
& openssh before I start new installation.

My install script looks like
  zlib:
    configure
    make test
    make install prefix=/opt/zlib-1.2.3
openssl:
   config --prefix=/opt/openssl-1.0.1g
   make
   make test
   make install
openssh:
  configure --prefix=/opt/openssh-6.6p1 --without-zlib-version-check
--with-ssl-dir=/opt/openssl-1.0.1g
   make
   make install

set ssh{d}_config files as I want them
setup privsep

attempt to start "sshd" which fails

I have a script file which I  use for these actions; have used script for years
only updating version of software

Your assistance/aid will be greatly appreciated. Thank you.

James
James M Carter, PhD
ES31 / Sensors, Imaging & Optics Branch
Optics Team/Team Lead
Bldg 4487 Rm B-117
Marshall Space Flight Center, AL 35812
O- 256-544-3469   C- 256-783-8362  F-256-544-2659