Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

RedHat源码升级-(OpenSSL + OpenSSH)

[复制链接]
baalchina 发表于 2004-11-4 10:47:36 | 显示全部楼层
我是redhat9

今天遇到搞笑问题了:

一打开ssh client连接服务器,出现提示说什么什么更改了,确定,连上去之后显示:



[root@bbs root]# ssh -V
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
[root@bbs root]#


ssh的版本已经上来了(我也没做什么啊,郁闷),ssl的版本还是老的。
回复

使用道具 举报

 楼主| platinum 发表于 2004-11-4 18:32:14 | 显示全部楼层
奇怪,你的OpenSSL怎么版本没变化,你编译的时候是不是没把0.9.7e编进去啊?
回复

使用道具 举报

baalchina 发表于 2004-11-4 22:20:09 | 显示全部楼层
Originally posted by 超超白金 at 2004-11-4 18:32
奇怪,你的OpenSSL怎么版本没变化,你编译的时候是不是没把0.9.7e编进去啊?

今天又重做了一遍,就是按照你给的那个...还是不行~~
回复

使用道具 举报

 楼主| platinum 发表于 2004-11-4 22:48:43 | 显示全部楼层
嘿嘿,感觉有意思!
如果方便的话,我想登录你的服务器试试看
回复

使用道具 举报

baalchina 发表于 2004-11-5 11:02:14 | 显示全部楼层
Originally posted by 超超白金 at 2004-11-4 22:48
嘿嘿,感觉有意思!
如果方便的话,我想登录你的服务器试试看

恩~应该问题不大 ~
我发过消息给你了~~
回复

使用道具 举报

lgking 发表于 2005-1-21 14:45:26 | 显示全部楼层
我参照你们的做法升级openssl时出现错误,我先把旧的openssl 用 rpm -e openssl.0.9.7a --nodeps 删除掉,进入新下载的openssl目录,运行 ./config --prefix=/usr/local/openssl 时,出现以下信息:
Operating system: i686-whatever-linux2
Configuring for linux-elf
Configuring for linux-elf
IsWindows=0
CC            =gcc
CFLAG         =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
EX_LIBS       =-ldl
BN_ASM        =asm/bn86-elf.o asm/co86-elf.o
DES_ENC       =asm/dx86-elf.o asm/yx86-elf.o
BF_ENC        =asm/bx86-elf.o
CAST_ENC      =asm/cx86-elf.o
RC4_ENC       =asm/rx86-elf.o
RC5_ENC       =asm/r586-elf.o
MD5_OBJ_ASM   =asm/mx86-elf.o
SHA1_OBJ_ASM  =asm/sx86-elf.o
RMD160_OBJ_ASM=asm/rm86-elf.o
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/bin/perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
Makefile => Makefile.ssl
e_os2.h => include/openssl/e_os2.h [文件已存在]
making links in crypto...
make[1]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto'
Makefile => Makefile.ssl
crypto.h => ../include/openssl/crypto.h [文件已存在]
tmdiff.h => ../include/openssl/tmdiff.h [文件已存在]
opensslv.h => ../include/openssl/opensslv.h [文件已存在]
opensslconf.h => ../include/openssl/opensslconf.h [文件已存在]
ebcdic.h => ../include/openssl/ebcdic.h [文件已存在]
symhacks.h => ../include/openssl/symhacks.h [文件已存在]
ossl_typ.h => ../include/openssl/ossl_typ.h [文件已存在]
Makefile => Makefile.ssl
making links in crypto/md2...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/md2'
Makefile => Makefile.ssl
md2.h => ../../include/openssl/md2.h [文件已存在]
md2test.c => ../../test/md2test.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/md2'
making links in crypto/md4...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/md4'
Makefile => Makefile.ssl
md4.h => ../../include/openssl/md4.h [文件已存在]
md4test.c => ../../test/md4test.c [文件已存在]
md4.c => ../../apps/md4.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/md4'
making links in crypto/md5...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/md5'
Makefile => Makefile.ssl
md5.h => ../../include/openssl/md5.h [文件已存在]
md5test.c => ../../test/md5test.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/md5'
making links in crypto/sha...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/sha'
Makefile => Makefile.ssl
sha.h => ../../include/openssl/sha.h [文件已存在]
shatest.c => ../../test/shatest.c [文件已存在]
sha1test.c => ../../test/sha1test.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/sha'
making links in crypto/mdc2...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/mdc2'
Makefile => Makefile.ssl
mdc2.h => ../../include/openssl/mdc2.h [文件已存在]
mdc2test.c => ../../test/mdc2test.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/mdc2'
making links in crypto/hmac...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/hmac'
Makefile => Makefile.ssl
hmac.h => ../../include/openssl/hmac.h [文件已存在]
hmactest.c => ../../test/hmactest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/hmac'
making links in crypto/ripemd...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/ripemd'
Makefile => Makefile.ssl
ripemd.h => ../../include/openssl/ripemd.h [文件已存在]
rmdtest.c => ../../test/rmdtest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/ripemd'
making links in crypto/des...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/des'
Makefile => Makefile.ssl
des.h => ../../include/openssl/des.h [文件已存在]
des_old.h => ../../include/openssl/des_old.h [文件已存在]
destest.c => ../../test/destest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/des'
making links in crypto/rc2...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/rc2'
Makefile => Makefile.ssl
rc2.h => ../../include/openssl/rc2.h [文件已存在]
rc2test.c => ../../test/rc2test.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/rc2'
making links in crypto/rc4...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/rc4'
Makefile => Makefile.ssl
rc4.h => ../../include/openssl/rc4.h [文件已存在]
rc4test.c => ../../test/rc4test.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/rc4'
making links in crypto/rc5...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/rc5'
Makefile => Makefile.ssl
rc5.h => ../../include/openssl/rc5.h [文件已存在]
rc5test.c => ../../test/rc5test.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/rc5'
making links in crypto/idea...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/idea'
Makefile => Makefile.ssl
idea.h => ../../include/openssl/idea.h [文件已存在]
ideatest.c => ../../test/ideatest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/idea'
making links in crypto/bf...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/bf'
Makefile => Makefile.ssl
blowfish.h => ../../include/openssl/blowfish.h [文件已存在]
bftest.c => ../../test/bftest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/bf'
making links in crypto/cast...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/cast'
Makefile => Makefile.ssl
cast.h => ../../include/openssl/cast.h [文件已存在]
casttest.c => ../../test/casttest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/cast'
making links in crypto/bn...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/bn'
Makefile => Makefile.ssl
bn.h => ../../include/openssl/bn.h [文件已存在]
bntest.c => ../../test/bntest.c [文件已存在]
exptest.c => ../../test/exptest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/bn'
making links in crypto/ec...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/ec'
Makefile => Makefile.ssl
ec.h => ../../include/openssl/ec.h [文件已存在]
ectest.c => ../../test/ectest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/ec'
making links in crypto/rsa...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/rsa'
Makefile => Makefile.ssl
rsa.h => ../../include/openssl/rsa.h [文件已存在]
rsa_test.c => ../../test/rsa_test.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/rsa'
making links in crypto/dsa...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/dsa'
Makefile => Makefile.ssl
dsa.h => ../../include/openssl/dsa.h [文件已存在]
dsatest.c => ../../test/dsatest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/dsa'
making links in crypto/dh...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/dh'
Makefile => Makefile.ssl
dh.h => ../../include/openssl/dh.h [文件已存在]
dhtest.c => ../../test/dhtest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/dh'
making links in crypto/dso...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/dso'
Makefile => Makefile.ssl
dso.h => ../../include/openssl/dso.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/dso'
making links in crypto/engine...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/engine'
Makefile => Makefile.ssl
engine.h => ../../include/openssl/engine.h [文件已存在]
enginetest.c => ../../test/enginetest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/engine'
making links in crypto/aes...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/aes'
Makefile => Makefile.ssl
aes.h => ../../include/openssl/aes.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/aes'
making links in crypto/buffer...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/buffer'
Makefile => Makefile.ssl
buffer.h => ../../include/openssl/buffer.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/buffer'
making links in crypto/bio...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/bio'
Makefile => Makefile.ssl
bio.h => ../../include/openssl/bio.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/bio'
making links in crypto/stack...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/stack'
Makefile => Makefile.ssl
stack.h => ../../include/openssl/stack.h [文件已存在]
safestack.h => ../../include/openssl/safestack.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/stack'
making links in crypto/lhash...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/lhash'
Makefile => Makefile.ssl
lhash.h => ../../include/openssl/lhash.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/lhash'
making links in crypto/rand...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/rand'
Makefile => Makefile.ssl
rand.h => ../../include/openssl/rand.h [文件已存在]
randtest.c => ../../test/randtest.c [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/rand'
making links in crypto/err...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/err'
Makefile => Makefile.ssl
err.h => ../../include/openssl/err.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/err'
making links in crypto/objects...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/objects'
Makefile => Makefile.ssl
objects.h => ../../include/openssl/objects.h [文件已存在]
obj_mac.h => ../../include/openssl/obj_mac.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/objects'
making links in crypto/evp...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/evp'
Makefile => Makefile.ssl
evp.h => ../../include/openssl/evp.h [文件已存在]
evp_test.c => ../../test/evp_test.c [文件已存在]
cp evptests.txt ../../test
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/evp'
making links in crypto/asn1...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/asn1'
Makefile => Makefile.ssl
asn1.h => ../../include/openssl/asn1.h [文件已存在]
asn1_mac.h => ../../include/openssl/asn1_mac.h [文件已存在]
asn1t.h => ../../include/openssl/asn1t.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/asn1'
making links in crypto/pem...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/pem'
Makefile => Makefile.ssl
pem.h => ../../include/openssl/pem.h [文件已存在]
pem2.h => ../../include/openssl/pem2.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/pem'
making links in crypto/x509...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/x509'
Makefile => Makefile.ssl
x509.h => ../../include/openssl/x509.h [文件已存在]
x509_vfy.h => ../../include/openssl/x509_vfy.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/x509'
making links in crypto/x509v3...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/x509v3'
Makefile => Makefile.ssl
x509v3.h => ../../include/openssl/x509v3.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/x509v3'
making links in crypto/conf...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/conf'
Makefile => Makefile.ssl
conf.h => ../../include/openssl/conf.h [文件已存在]
conf_api.h => ../../include/openssl/conf_api.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/conf'
making links in crypto/txt_db...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/txt_db'
Makefile => Makefile.ssl
txt_db.h => ../../include/openssl/txt_db.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/txt_db'
making links in crypto/pkcs7...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/pkcs7'
Makefile => Makefile.ssl
pkcs7.h => ../../include/openssl/pkcs7.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/pkcs7'
making links in crypto/pkcs12...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/pkcs12'
Makefile => Makefile.ssl
pkcs12.h => ../../include/openssl/pkcs12.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/pkcs12'
making links in crypto/comp...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/comp'
Makefile => Makefile.ssl
comp.h => ../../include/openssl/comp.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/comp'
making links in crypto/ocsp...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/ocsp'
Makefile => Makefile.ssl
ocsp.h => ../../include/openssl/ocsp.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/ocsp'
making links in crypto/ui...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/ui'
Makefile => Makefile.ssl
ui.h => ../../include/openssl/ui.h [文件已存在]
ui_compat.h => ../../include/openssl/ui_compat.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/ui'
making links in crypto/krb5...
make[2]: Entering directory `/home/ids/src/openssl-0.9.7d/crypto/krb5'
Makefile => Makefile.ssl
krb5_asn.h => ../../include/openssl/krb5_asn.h [文件已存在]
make[2]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto/krb5'
make[1]: Leaving directory `/home/ids/src/openssl-0.9.7d/crypto'
making links in ssl...
make[1]: Entering directory `/home/ids/src/openssl-0.9.7d/ssl'
Makefile => Makefile.ssl
ssl.h => ../include/openssl/ssl.h [文件已存在]
ssl2.h => ../include/openssl/ssl2.h [文件已存在]
ssl3.h => ../include/openssl/ssl3.h [文件已存在]
ssl23.h => ../include/openssl/ssl23.h [文件已存在]
tls1.h => ../include/openssl/tls1.h [文件已存在]
kssl.h => ../include/openssl/kssl.h [文件已存在]
ssltest.c => ../test/ssltest.c [文件已存在]
make[1]: Leaving directory `/home/ids/src/openssl-0.9.7d/ssl'
making links in apps...
make[1]: Entering directory `/home/ids/src/openssl-0.9.7d/apps'
Makefile => Makefile.ssl
make[1]: Leaving directory `/home/ids/src/openssl-0.9.7d/apps'
making links in test...
make[1]: Entering directory `/home/ids/src/openssl-0.9.7d/test'
Makefile => Makefile.ssl
make[1]: Leaving directory `/home/ids/src/openssl-0.9.7d/test'
making links in tools...
make[1]: Entering directory `/home/ids/src/openssl-0.9.7d/tools'
Makefile => Makefile.ssl
make[1]: Leaving directory `/home/ids/src/openssl-0.9.7d/tools'
generating dummy tests (if needed)...
make[1]: Entering directory `/home/ids/src/openssl-0.9.7d/test'
make[1]: Nothing to be done for `generate'.
make[1]: Leaving directory `/home/ids/src/openssl-0.9.7d/test'

Configured for linux-elf.
我只用./config 也是这样:(我把系统重新安装了也不行,特向大家请教,如何解决此问题。在这里先谢谢大家。
回复

使用道具 举报

lgking 发表于 2005-1-25 09:43:41 | 显示全部楼层

郁闷ing,怎么没人解答啊,能想的方法我都想了,我实在是没辙了。只好不升级了。哎………………
回复

使用道具 举报

 楼主| platinum 发表于 2005-1-26 08:08:24 | 显示全部楼层
Originally posted by lgking at 2005-1-25 09:43
我参照你们的做法升级openssl时出现错误,我先把旧的openssl 用 rpm -e openssl.0.9.7a --nodeps 删除掉

多此一举,画蛇添足
回复

使用道具 举报

lgking 发表于 2005-2-2 19:16:25 | 显示全部楼层
我刚学Linux不久,楼上说“多此一举,画蛇添足”,请楼上指正我在什么地方画蛇添足呢?是不应该把原来的删除掉还是不用升级?劳烦你多多指教,小弟先在这里谢了!
回复

使用道具 举报

AsIwish 发表于 2005-7-11 22:33:00 | 显示全部楼层
本来就是啊 升级安装
你删了干嘛
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-25 10:21 , Processed in 0.030369 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表