SOLARIS 2.6: 1) installed openssl by ./config; make; make test; make install; 2) installed zlib by ./configure; make test; make install; 3) installed ANDIrand-0.6-5.6-sparc-1.pkg to add /dev/random and /dev/urandom 4) installed openssh by ./configure; make; make install; 5) edited configuration files: /usr/local/etc/sshd_config: changed forwardX11 to yes 6) added ssh lines to the /etc/services file ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp # SSH Remote Login Protocol 7) added startup script to the /etc/init.d directory and made links to appropriate rc*.d directories per scripts instructions named the script "sshd" and set execution bit. ===================== SCRIPT START ================ #!/bin/sh # # Start/Stop the secure shell daemon. # # Originally Written by Michael Haardt, 1996. # # Sean Boran for Solaris 2.4 and later: # cp startup-script /etc/init.d/sshd # ln -s /etc/init.d/sshd /etc/rc2.d/S10sshd # ln -s /etc/init.d/sshd /etc/rc2.d/K10sshd PATH=/bin:/usr/bin:/usr/local/bin SSHD=/usr/local/sbin/sshd PID=/usr/local/etc/sshd.pid case $1 in 'start') start=false if [ ! -s $PID ] then start=true else kill -0 `cat $PID` >/dev/null 2>&1 || start=true fi if [ $start = true -a -x $SSHD ] then $SSHD echo 'SSH1 Secure shell daemon started.' else echo 'SSH1 Secure shell daemon not started.' fi ;; 'stop') if [ -s $PID ] then if kill `cat $PID` >/dev/null 2>&1 then echo 'SSH1 Secure shell daemon terminated.' fi fi ;; *) echo 'Usage: /etc/init.d/sshd start|stop' ;; ============== SCRIPT END =================== SunOS: 1) installed openssl by ./config; make; make test; make install; NOTE: this takes a LONG time on a sparc 1 (~2-4 hours) 2) install zlib by: ./configure; make test; make install; 3) compiled prngd-0.9.23 edited the Makefile to include default SunOS4 lines left config.h as received moved executable to /usr/local/sbin (had to create dir) created /etc/prngd.conf by copying from contrib/SunOS-4 cat'ed some log files into /etc/prngd-seed executed /usr/local/sbin/prngd /dev/egd-pool to start tested with egd (see below) 4) installed egd.pl to provide testing of prngd perl Makefile.PL; make; make test; make install; 4) installed pcre-3.5 by: ./configure; make; make install; then ./libtool --finish /usr/local/lib NOTE: had to change the strtoul fuunction call in pcretest.c to strtol because SunOS 4.1.3 doesn`t have a strtoul. 5) installed openssh by: ./configure --sysconfdir=/etc/ssh --with-ipv4-default; make; make install; 6) started server with /usr/local/sbin/sshd (need to run this w/o inetd, it takes way too long to generate a key at startup otherwise. It also takes about a minute to complete the negotiation at login). 7) put prngd and sshd into /etc/rc.local 8) Start up on the other clients: 1) copy /etc/prngd.cong to /etc 2) cat some log file to /etc/prngd-seed to start 3) /usr/local/sbin/prngd /dev/egd-pool check with egc.pl /dev/egd-pool get 4) copied /etc/ssh/ssh_config, sshd_config, ssh_prng_cmds, and primes to /etc/ssh 5) generated host keys in /etc/ssh 6) /usr/local/sbin/sshd 7) modified /etc/rc.local to auto start at reboot Linux RedHat 7.1 1) Install ssl from rpms 2) untar openssh and compile used options: --prefix=/usr --sysconfdir=/etc/ssh --with-tcp-wrappers --with-ipv4-default modified /etc/ssh/sshd_config tp set forwardX11 to yes 3) added the followinf file to /etc/xinetd.d ================ SSHD START FILE ========================== # default: on # ssh for secure connections modified from the telnet example # gcc - 9/22/01 service ssh { disable = no socket_type = stream wait = no user = root server = /usr/sbin/sshd server_args = -i log_on_failure += USERID } =============== SSHD END ================================== 4) did chkconfig sshd on (checked with chkconfig --list)