升级OPENSSH
1. 升级OpenSSL
- 下载地址:
- 如果使用0.9.8版本,在编译安装的时候会出错,虽然有办法可以解决…建议还是用1.0.0a
# 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