升級OpenSSL
CODE:
[Copy to clipboard]
cd /usr/local/srcwget http://www.openssl.org/source/openssl-0.9.7e.tar.gztar xzvf openssl-0.9.7e.tar.gzcd openssl-0.9.7e./config --prefix=/usr/local/openssl-0.9.7emakemake testmake install升級OpenSSH(依照最新的OpenSSL)
CODE:
[Copy to clipboard]
cd /usr/local/srcwget http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/openssh-3.9p1.tar.gztar xzvf openssh-3.9p1.tar.gzcd openssh-3.9p1./configure --prefix=/usr --with-pam --with-zlib=/usr/local/zlib --with-ssl-dir=/usr/local/openssl-0.9.7e --with-md5-passwords --mandir=/usr/share/man(如果你自己編譯安裝了zlib,就加--with-zlib=DIR這個參數,如果默認安裝,就換成--with-zlib)makemake installOK,現在ssh -V看一下版本吧
QUOTE:
[root@server1 openssh-3.9p1]# ssh -VOpenSSH_
3.9p1, OpenSSL
0.9.7e 25 Oct 2004[root@server1 openssh-3.9p1]#