ppc64 linux 升级openssh

用绿盟的漏洞扫描扫描系统有openssh漏洞,需要将openssh升级到7.4以上版本,找过ppc64的openssh包,提示需要独立包,求用源码包安装openssh、openssl的方案安装openssh 7.5p1的时候./configure 过去了,到make的时候报错11.jpg...显示全部

用绿盟的漏洞扫描扫描系统有openssh漏洞,需要将openssh升级到7.4以上版本,找过ppc64的openssh包,提示需要独立包,求用源码包安装openssh、openssl的方案

安装openssh 7.5p1的时候./configure 过去了,到make的时候报错
11.jpg

11.jpg

收起
参与6

查看其它 1 个回答郭冠樱的回答

郭冠樱郭冠樱系统运维工程师华胜天成

1:下载源码包,地址https://www.openssh.com/portable.html 自己找对应版本
2:安装过程严格来说要参考包里的readme或者install文件,大概过程如下,报什么错就解决就好了,一般都是gcc环境不符,权限不符,环境变量不符这些都是常规问题。

1.升级zlib
tar -zxvf zlib-1.2.8.tar.gz
./configure --prefix=/usr/local/zlib
make
make install

2.升级openssl
tar -zxvf openssl-1.0.2a.tar.gz
cd openssl-1.0.2a/
./config --prefix=/usr/ shared
make
make test
make install

3.升级openssh

tar -zxvf openssh-6.8p1.tar.gz
cd openssh-6.8p1/
./configure --prefix=/usr --with-zlib=/usr/local/zlib --with-md5-passwords
make
make install

4.测试
sshd -v
service sshd restart

系统集成 · 2017-05-08
浏览2928

回答者

郭冠樱
系统运维工程师华胜天成
擅长领域: 服务器Linux系统运维

郭冠樱 最近回答过的问题

回答状态

  • 发布时间:2017-05-08
  • 关注会员:3 人
  • 回答浏览:2928
  • X社区推广