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

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

Update: moved to Superuser

+7
ssh debian openssl
source share
3 answers

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

I had the same issue when I upgraded my system to testing Debian. Despite the fact that SSH was already installed, in my case it was not loaded for updating when I ran apt-get update && apt-get upgrade , and therefore the system still had the same SSH files with already outdated libraries related to it, therefore, version mismatch.

+8
source share

Make sure your other SSL packages have the same version number as your openssl package. Things like libssl1.0.0 and libssl-dev can have a higher or lower version if you used non-standard repositories such as debian-testing.

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

 apt-get install libssl1.0.0=1.0.1e-2+deb7u11 
+1
source share

I am sorry for the answer below because I just discovered with which ssh that I am using the version of OpenSSH that I compiled myself.

 # which ssh /usr/local/bin/ssh 

After successfully deleting local ssh, openssh-server and openssh-client .


I came across this and used a similar method that I used to commit https://askubuntu.com/a/854145/348754 .

I found the following error.

 Creating SSH2 ECDSA key; this may take some time ...OpenSSL version mismatch. Built against 1000106f, you have 1000207f dpkg: error processing package openssh-server (--configure): subprocess installed post-installation script returned error exit status 255 

I need to edit / var / lib / dpkg / info / openssh -server.postinst and comment on the following lines.

 #create_key "Creating SSH2 ECDSA key; this may take some time ..." \ # "$hostkeys" /etc/ssh/ssh_host_ecdsa_key -t ecdsa #create_key "Creating SSH2 ED25519 key; this may take some time ..." \ # "$hostkeys" /etc/ssh/ssh_host_ed25519_key -t ed25519 
0
source share

All Articles