欢迎光临
我们一直在努力

RedHat源码升级-(OpenSSL + OpenSSH)

建站超值云服务器,限时71元/月

 CODE: [Copy to clipboard]   
cd /usr/local/src
wget http://www.openssl.org/source/openssl-0.9.7e.tar.gz
tar xzvf openssl-0.9.7e.tar.gz
cd openssl-0.9.7e
./config –prefix=/usr/local/openssl-0.9.7e
make
make test
make install

升级OpenSSH(依照最新的OpenSSL)

  CODE: [Copy to clipboard]   
cd /usr/local/src
wget http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/openssh-3.9p1.tar.gz
tar xzvf openssh-3.9p1.tar.gz
cd 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)

make
make install

OK,现在ssh -V看一下版本吧

  QUOTE:
[root@server1 openssh-3.9p1]# ssh -V
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
[root@server1 openssh-3.9p1]#

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » RedHat源码升级-(OpenSSL + OpenSSH)
分享到: 更多 (0)

相关推荐

  • 暂无文章