You are not logged in.

#1 2013-11-28 08:15:30

anildas
Member
Registered: 2013-11-28
Posts: 4

ssh broken after upgrade

When i try to ssh i get the following error:

OpenSSL version mismatch. Built against 1000105f, you have 1000004f

Output of  "openssl version"
WARNING: can't open config file: /tmp/openssl-1.0.0d/openssl.cnf
OpenSSL 1.0.1e 11 Feb 2013 (Library: OpenSSL 1.0.0d 8 Feb 2011)

openssl is in latest version but the library seems to have the older version.

Also reinstalled openssh and openssl packages too...

How can this error be fixed?
Work stuck as git refuses to pull...

Last edited by anildas (2013-11-28 08:18:07)

Offline

#2 2013-11-28 08:24:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: ssh broken after upgrade

Works fine here. What versions do you have installed?

Please paste the relevant part of pacman's log.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-11-28 08:55:03

anildas
Member
Registered: 2013-11-28
Posts: 4

Re: ssh broken after upgrade

[PACMAN] upgraded openssl (1.0.1.e-4 -> 1.0.1.e-5)
[PACMAN] upgraded openssh (6.3p1-1 -> 6.4p1-1)

I did the above updates two weeks back....Don't think have used ssh since...

Last edited by anildas (2013-11-28 08:55:46)

Offline

#4 2013-11-28 09:15:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: ssh broken after upgrade

Was that a complete update (ie., -Syu)? Because the error message suggests that one of your libraries is incompatible.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-11-28 09:31:25

anildas
Member
Registered: 2013-11-28
Posts: 4

Re: ssh broken after upgrade

Yep an yaourt -Syua....
Yep not able to figure the reason...
Output of "openssl version -a"

WARNING: can't open config file: /tmp/openssl-1.0.0d/openssl.cnf
OpenSSL 1.0.1e 11 Feb 2013 (Library: OpenSSL 1.0.0d 8 Feb 2011)
built on: Sun Jun 26 06:36:57 MSD 2011
platform: linux-x86_64
options:  bn(64,64) rc4(ptr,int) des(idx,cisc,16,int) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int
OPENSSLDIR: "/tmp/openssl-1.0.0d"

Look at the directory in the last line..its still -1.0.0.d

Offline

#6 2013-11-28 10:36:19

anildas
Member
Registered: 2013-11-28
Posts: 4

Re: ssh broken after upgrade

Finally Solved it...Thanks jasonwryan for the support...
ssh was linking to the wrong libcrypto because of the LD_LIBRARY_PATH...
It had few folders pointing to libraries used by intel compiler...which also had an older version of libcrypto

I can get ssh working by clearing the LD_LIBRARY_PATH variable....yet to find a more permanent solution.

Offline

#7 2013-11-28 16:17:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: ssh broken after upgrade

So, of more concern would be how that happened...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB