New answers tagged

1

ssh -C is compression for data in motion on the wire, not data at rest. In other words, ssh compressed and decompressed in the transport layer. With ssh and pipes, its possible to compress on the remote host, get that compressed stream as standard in, and write it out on the local host. Which compresses data in motion and at rest. ssh root@remote-host "...


0

In ssh, it allows gzip compression (under the scp). This will speed things up on sluggish connections; but, on any decently fast connection (100Mbit or faster), the compression will almost certainly slow things down. It will be more or less efficient than zip depending on whether gzip (particularly gzip -6) is more or less efficient than the compression ...


0

For future readers, # This will use port 2222 scp -v -P 2222 ~/local_file.txt admin@remote:~/dest but # This will use default port 22 and ignore your 2222 scp -v ~/local_file.txt -P 2222 admin@remote:~/dest so scp could seem to hang this way (wrong port). The -v flag is your friend.


Top 50 recent answers are included