Zlib compression is now supported in the core after being refactored to remove its dependency on jzlib. This document, therefore, only applies to version < 3.1.0.

Supporting ZLIB compression

The Maverick Synergy Java SSH API has a module that enables ZLIB compression support.

The core API has zero third-party dependencies, and as support for ZLIB requires a third-party library, you must include this additional module to support compression.

   <dependency>
      <groupId>com.sshtools</groupId>
       <artifactId>maverick-zip</artifactId>
       <version>3.0.0</version>
   </dependency>

You do not need to do anything other than include the module or jar file in your classpath. When included, the API will automatically configure zlib and zlib@openssh.org algorithms.

Please also review our third-party dependencies documentation for more information on the dependencies this module requires. 

What third-party dependencies does the Maverick Synergy API have