Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I just ran apt-get upgrade, and according to /var/log/apt/history.log, openssl has been updated to version 1.0.1e-2+rvt+deb7u7. Now I have one SSH session still open, but I can't open another one. I restarted SSH, which returned OpenSSL version mismatch. Built against 1000105f, you have 10001080. I tried apt-get remove openssl && apt-get install openssl with no luck. I'm running debian on a raspberry pi.

Update: moved to Superuser

like image 521
Niek Avatar asked Jun 07 '14 10:06

Niek


3 Answers

Try apt-get install openssh-server openssh-client.

I had the same issue when I updated my system to Debian Testing. Even though SSH was already installed, in my case it wasn't pulled in for updating when I ran apt-get update && apt-get upgrade and so the system still had the same SSH binaries with the now-outdated libraries linked against it, hence the version mismatch.

like image 68
Milos Ivanovic Avatar answered Oct 30 '22 15:10

Milos Ivanovic


Make sure your other SSL packages have the same version number that your openssl package does. Things like libssl1.0.0 and libssl-dev may have a higher or lower version if you've used non-standard repos like debian-testing.

So if your openssl version is, for example, 1.0.1e-2+deb7u11, fixing this is as simple as

apt-get install libssl1.0.0=1.0.1e-2+deb7u11
like image 42
Cory Ringdahl Avatar answered Oct 30 '22 17:10

Cory Ringdahl


I hit this error the following error in my Ubuntu.

OpenSSL version mismatch. Built against 100020bf, you have 1000106f

Here are what I did to fix the issue.

  1. Check where is ssh

    \#which ssh
    
    /usr/local/bin/ssh
    
  2. Remove the current ssh package.

    sudo apt-get remove openssh-server openssh-client
    
  3. Remove ssh file under /usr/local/bin/ssh

  4. Reinstall ssh package as follows.

    sudo apt-get install openssh-server openssh-client
    
  5. Log out the current session and re-login again. SSH command is back to work and is under /usr/bin/ssh.

    \#which ssh
    
    /usr/bin/ssh
    
like image 1
csu007 Avatar answered Oct 30 '22 16:10

csu007