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
mouring at etoh.eviladmin.org
2001-Feb-12 08:22 UTC
Compiled and running on NCR SVR4 UNIX (MP-RAS)
On Sun, 11 Feb 2001, Don Bragg wrote:> 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" >I think it would be better to add in a *-ncr-sysv* section. I'm unsure what else uses the generic 'sysv'. (Which I'll commit right now along with the change to includes.h) Can you compile without defining the 'host=' line? Does the configure system guess your system? If so is it different then *-ncr-sysv*? [..]> j. Edit the /etc/inet/inetd.conf file to include the followingline:> > ssh stream tcp nowait root /usr/local/sbin/sshd > sshd -i >*PLEASE* don't encourage people to run sshd from inetd. =) - Ben