SFTP Compression

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
mwdazzo
Posts: 55
Joined: Fri Jan 07, 2011 10:02 am

SFTP Compression

Post by mwdazzo »

I have a request to see if we can turn on wire-compression for sftp. We are using Cozbatch for SFTP, I have done some testing using the -C parameter as shown below but I can't confirm if this is working? Would this be correct? If not, can some information be provided if it is possible to be done and how to use it? Thanks Matt

Co:Z SFTP version: 2.4.4 (5.0p1) 2014-03-18
Copyright (C) Dovetailed Technologies, LLC. 2008-2013. All rights reserved.

$coz_bin/cozsftp $ssh_opts -b- -C $remoteuser@$server <<EOB
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: SFTP Compression

Post by dovetail »

If you add "-v", then you will know if compression is enabled by the presence of this message:

debug1: Enabling compression at level <n>

Note: for compression to be enabled, the server must also support it. For OpenSSH, this is the Compression setting in sshd_config.

Note: with z/OS V2R2 OpenSSH, you can also do this:

cozsftp -C -ozEDCCompression=yes user@host

(you would have to authorize the user to use zEDC using SAF/RACF)
chaky
Posts: 6
Joined: Mon Jul 11, 2016 5:24 pm

Re: SFTP Compression

Post by chaky »

Hello,

One question here...

This compression done by Cozbatch happens before the transmission or during the transmission.

Thanks and Regards,
Chaky.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: SFTP Compression

Post by dovetail »

Compression is done by IBM Ported Tools OpenSSH, therefore it is done during transmission.
Post Reply