Suggest a feature

Welcome to TagMyCode

Please login or create account to add a snippet.
Language: Bash
Posted by: Massimo Zappino
Added: Dec 17, 2015 3:12 PM
Modified: Aug 27, 2017 3:32 PM
Views: 45
-C Requests compression of all data (including stdin, stdout,
stderr, and data for forwarded X11 and TCP connections). The
compression algorithm is the same used by gzip(1), and the
“level” can be controlled by the CompressionLevel option for pro-
tocol version 1. Compression is desirable on modem lines and
other slow connections, but will only slow down things on fast
networks. The default value can be set on a host-by-host basis
in the configuration files; see the Compression option.
  1. ssh -C server
  4. # Copy large file with compression
  5. scp -C user@server:/my_big_file.log ./