Ubuntu – openssl on Ubuntu – no zlib

sshUbuntu

on my Debian machines when I enter openssl -V I see the zlib algorithm.

On Ubuntu I do not have zlib support for openssl, so the SSH also not support zlib.

Why is this?

I tried several thing to get zlib support on Ubuntu for SSH but I failed.

Can anyone helpo me?

King Regards

Best Answer

OpenSSH links dynamically to zlib. You can see this by running ldd /usr/bin/ssh and looking for the libz.so.1 reference. The fact that OpenSSL does not show zlib does not mean that OpenSSH cannot use zlib.