刚卸除了openssl几个rpm 之后ssh就连接上不了,连yum都不行之后就才上传了个openssl-0.9.8e-12.el5.i386.rpm安装好之后才能yum
yum install openssl* 安装
以下两个也要安装:
openssh-4.3p2-41.el5_5.1.i386
openssh-clients-4.3p2-41.el5_5.1.i386
[root@pc01 setup]# yum install openssh-*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.163.com
* base: mirrors.163.com
* epel: mirrors.sohu.com
* extras: mirrors.163.com
* updates: centos.mirror.cdnetworks.com
Setting up Install Process
Package openssh-4.3p2-41.el5_5.1.i386 already installed and latest version
Package openssh-clients-4.3p2-41.el5_5.1.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package openssh-askpass.i386 0:4.3p2-41.el5_5.1 set to be updated
---> Package openssh-server.i386 0:4.3p2-41.el5_5.1 set to be updated
epel/filelists_db | 4.2 MB 00:13
updates/filelists_db | 3.7 MB 00:17
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================================================================
Installing:
openssh-askpass i386 4.3p2-41.el5_5.1 updates 40 k
openssh-server i386 4.3p2-41.el5_5.1 updates 269 k
Transaction Summary
==========================================================================================================================================================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 310 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): openssh-askpass-4.3p2-41.el5_5.1.i386.rpm | 40 kB 00:00
(2/2): openssh-server-4.3p2-41.el5_5.1.i386.rpm | 269 kB 00:02
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 102 kB/s | 310 kB 00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : openssh-server 1/2
Installing : openssh-askpass 2/2
Installed:
openssh-askpass.i386 0:4.3p2-41.el5_5.1 openssh-server.i386 0:4.3p2-41.el5_5.1
Complete!
本文转自 holy2009 51CTO博客,原文链接:http://blog.51cto.com/holy2010/442287