[PATCH 0/1] ZSTD compression support for OpenSSH

Sebastian Andrzej Siewior openssh at ml.breakpoint.cc
Sat Feb 25 07:53:15 AEDT 2023


I added ZSTD support to OpenSSH roughly three years ago and I've been
playing with it ever since.
The nice part is that ZSTD achieves reasonable compression (like zlib)
but consumes little CPU so it is unlikely that compression becomes the
bottle neck of a transfer. The compression overhead (CPU) is negligible
even when uncompressed data is tunneled over the SSH connection (SOCKS
proxy, port forward).
With this I can enably it by default on the client side by setting
"Compression zstd" in ssh_config and it will fallback to none if
compression isn't available.

Sebastian



More information about the openssh-unix-dev mailing list