DEV Community

Discussion on: Things I want to remember about SSH

Collapse
 
ferricoxide profile image
Thomas H Jones II

With respect to rsync:

  • If you're uploading large data-streams, it's best to override the default cipher to one better-optimized to that use-case (Blowfish used to be a good choice)
  • If you're needing to transfer a bunch of files in a bunch of directories, you can sometimes (e.g., if you're going over a WAN link that implements session-limits …and annoyingly common configuration problem) get better performance by running rsync in concert with the parallel command

Speaking of performance…

If someone ever complains about network throughput speeds, never use SSH-enabled techniques for bandwidth testing. The encryption-overhead of SSH means that such tests will never really show you your network's actual capabilities (unless your network is so degraded that SSH's encryption is no longer a bottleneck).

Collapse
 
djangotricks profile image
Aidas Bendoraitis

These are interesting tips. Thanks.