(转载)RedHat6.5 ssh升级7.9p1版本,亲测有效!

网址链接:https://blog.csdn.net/yuhang_666/article/details/86605058

不过里面的第7点

7.卸载旧的ssh
# cp /etc/init.d/sshd /tmp     #备份启动项
# cp -r /etc/ssh /etc/ssh.old #备份一些之前的文件
# rpm -qa|grep openssh
# rpm -e --nodeps openssh-clients-5.3p1-94.el6.x86_64
# rpm -e --nodeps openssh-5.3p1-94.el6.x86_64
# rpm -e --nodeps openssh-askpass-5.3p1-94.el6.x86_64
# rpm -e --nodeps openssh-server-5.3p1-94.el6.x86_64
warning: /etc/ssh/sshd_config saved as /etc/ssh/sshd_config.rpmsave 
#rpm -qa|grep openssh

中“# rpm -e --nodeps openssh-clients-5.3p1-94.el6.x86_64” 也会报一个“warning”错误(同“# rpm -e --nodeps openssh-server-5.3p1-94.el6.x86_64”)。另外,更新ssl到OpenSSL 1.0.1e-fips可以用命令“yum update openssl”。

过程中用到的rpm包的下载路径如下:

telnet-server-0.17-47.el6_3.1.x86_64.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/19842472/dir/scientific_linux_6/com/telnet-server-0.17-47.el6_3.1.x86_64.rpm.html

zlib-devel-1.2.3-29.el6.x86_64.rpmhttps://centos.pkgs.org/6/centos-x86_64/zlib-devel-1.2.3-29.el6.x86_64.rpm.html

openssh-7.9p1.tar.gzhttp://www.linuxfromscratch.org/blfs/view/8.4-systemd/postlfs/openssh.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值