Compiled and running on NCR SVR4 UNIX (MP-RAS)

Don Bragg thewizarddon at yahoo.com
Mon Feb 12 14:45:09 EST 2001


To whomever is interested, I have compiled and am running OpenSSH under
NCR UNIX using the following procedure:

1.  Compile and install zlib to the default location.
     gunzip zlib*.gz
     tar -xvfo zlib*tar
     cd zlib-*
     ./configure
     make
     make install

2.  Compile and install openssl to the default location.
     gunzip openssl*.gz
     tar -xvfo openssl*tar
     cd openssl-*
     ./Configure -I/usr/include -lc89 ncr-scde
     make
     make test
     make install

3.  Modify, compile, and install openssh as below:

    a. gunzip openssh*.gz
    b. tar -xvfo openssh*.tar
    c. cd openssh*
    d. Make the following changes to the "configure" file for OpenSSH:

       Search for the final occurence of "sysv".  Change the "LIBS"
field
       to the following:

       LIBS="$LIBS -lc89 -lnsl -lgen -lsocket"

    e. Add the following line to OpenSSH's includes.h file:

       #include "limits.h"

      (following the config.h include line).

    f. Run the configure command as below:

       sh ./configure --host=i686-ncr-sysv

    g. Compile OpenSSH with the following command:

       make

    h. Install the compiled module, as below:

       make install

    i. Edit the /etc/services file to include the following line:

       ssh             22/tcp                          # Secure Shell
daemon

    j. Edit the /etc/inet/inetd.conf file to include the following line:

       ssh     stream tcp nowait root /usr/local/sbin/sshd
sshd -i

       Add the same line to /etc/inet/inetd.local so it will be
       included if tcpconfig is re-run at a later date.

    k. Determine the process of the inetd master network process with
the
       following command :

       ps -eaf | grep inetd | grep -v grep

    l. Force inetd.conf to re-read it's config files by the following
command:

       kill -HUP 9999  ( where 9999 is inetd's process ID)

4. Test the installation by logging in with a SSH client.
   You will need to create an environment file for each user
   in ~/.ssh/environment to use "scp".
   It should resemble the following:

   PATH=$PATH:/usr/local/bin

Hope it helps.

Don Bragg
Systems Manager
SBS Data Services






More information about the openssh-unix-dev mailing list