分类: LINUX
2010-09-07 20:24:10
1. 升级OpenSSL
# cd /usr/local/src
# tar xzvf openssl-1.0.0a.tar.gz
# cd openssl-1.0.0a
# ./config –prefix=/usr/local/openssl-1.0.0a
# make
# make test
# make install
2. 升级OpenSSH
# cd /usr/local/src
# tar xzvf openssh-5.6p1.tar.gz
# cd openssh-5.6p1
# ./configure \
–prefix=/usr \
–with-pam \
–with-zlib \
–with-ssl-dir=/usr/local/openssl-1.0.0a \
–with-md5-passwords \
–mandir=/usr/share/man \
–sysconfdir=/etc/ssh
# make
# make install
完成后,检查一下ssh是否升级成功
# ssh -v
OpenSSH_5.6p1, OpenSSL 1.0.0a 1 Jun 2010