Enabling compression

Lee Painter

The API provides a useful method for enabling compression. By default no compression is enabled.

Ssh2Context ssh2 = (Ssh2Context)con.getContext(SshConnector.SSH2);
ssh2.enableCompression();