linux – 修复替换的OpenSSL安装

我以前用openssl10替换了我的centos盒子上的openssl,使用类似 these instructions的东西:
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/...
     ...x86_64/ius-release-1.0-11.ius.centos6.noarch.rpm
yum install yum-plugin-replace
# Edit /etc/yum.repos.d/ius-archive.repo and 
# enable the ius-archive repo by changing enabled=0 to enabled=1.
yum replace openssl --replace-with openssl10

然后,当我做一般的yum更新时,由于openssl我得到错误,所以我改为:

yum update -x openssl -x postfix

这似乎工作正常,但实际上,我不能再通过ssh重新连接到框:

me@local $ssh -S none root@the_server
ssh_exchange_identification: Connection closed by remote host

关于如何从这种情况中恢复的任何想法?

编辑:
当我在服务器上运行sshd(我仍然有一个打开的连接)时,我收到以下错误

ssh: relocation error: ssh: symbol SSLeay_version,version OPENSSL_1.0.1 
    not defined in file libcrypto.so.10 with link time reference

解决方法

使用IUS存储库并使用它来替换openssl与openssl10然后尝试升级到CentOS 6.5时出现了一个错误.

基本上你要做的就是回到股票openssl – 现在无论如何在版本1.0.1:

yum replace openssl10 --replace-with openssl

现在不需要使用openssl10且不受支持.
这也是它仅在归档回购中可用的原因.

有关更多信息,请参阅:https://lists.launchpad.net/ius-community/msg00807.htmlhttps://bugs.launchpad.net/ius/+bug/1034961/comments/60

相关文章

1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...
如何抑制stable_secret读取关键的“net.ipv6.conf.all.stabl...
1 删除0字节文件 find -type f -size 0 -exec rm -rf {} ...
## 步骤 1:安装必要的软件包 首先,需要确保系统已安装 `dh...