#tar zxvf openssl-0.9.8e.tar.gz
#cd openssl-0.9.8e
#./config shared zlib
#make
#make test
#make install
mv /usr/bin/openssl /usr/bin/openssl.OFF
mv /usr/include/openssl /usr/include/openssl.OFF
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
#ldconfig –v
OpenSSL 0.9.8e 11 Apr 2007
built on: Sat Mar 24 21:24:41 CST 2007
platform: linux-elf
options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
OPENSSLDIR: "/usr/local/ssl"
[root@server openssh-4.6p1]#tar zxvf openssh-4.6p1.tar.gz
[root@server openssh-4.6p1]#cd openssh-4.6p1
[root@server openssh-4.6p1]# make
[root@server openssh-4.6p1]# make install
[root@server openssh-4.6p1]# cp contrib/redhat/sshd.init /etc/init.d/sshd
[root@server openssh-4.6p1]# chmod +x /etc/init.d/sshd
[root@server openssh-4.6p1]# service sshd start
$SSHD $OPTIONS && success || failure