Skip to main content
16 events
when toggle format what by license comment
Feb 1, 2019 at 7:16 review Suggested edits
Feb 1, 2019 at 8:44
Apr 19, 2018 at 12:43 history edited slm CC BY-SA 3.0
added 20 characters in body
Mar 16, 2012 at 19:17 comment added Samuel Edwin Ward Yes, in some situations it will be slower.
Mar 16, 2012 at 18:57 comment added Scott Pack @SamuelEdwinWard: Depends on your infrastructure and where the bottleneck is. A few days ago I was backing up about 14GB of data across a 1Gbps link. Even with two fast machines, enabling compression was 5 times slower. Without compression it was IO bound, with compression it was CPU bound.
Mar 15, 2012 at 23:10 vote accept Wesley
Mar 15, 2012 at 22:23 comment added Samuel Edwin Ward For something like this, you'd often want to use ssh -C to compress the data in transfer.
Mar 15, 2012 at 21:08 comment added Wesley @jofel Add that as an answer too! I'm intrigued by socat - never heard of it before.
Mar 15, 2012 at 21:08 comment added Wesley @MikeyB Add that as an answer! It's at least one possibility.
Mar 15, 2012 at 20:49 comment added Scott Pack @MikeyB: You people what with your flying and your pants seats!
Mar 15, 2012 at 20:46 comment added MikeyB securely was not in the requirements :)
Mar 15, 2012 at 20:23 comment added Scott Pack @MikeyB: Good point. Netcat is a clear-text protocol so be careful with sensitive data. I tend to use netcat for more specific things like network drive acquisitions (ala dd) over a local network and port scanning.
Mar 15, 2012 at 20:19 review Suggested edits
Mar 15, 2012 at 20:35
Mar 15, 2012 at 20:14 comment added MikeyB Similarly, netcat on both ends makes for a great simple, easy communication channel. tar cf - /path/to/dir | nc 1.2.3.4 5000 on one server, nc -l -p 5000 > backupfile.tar on the other.
Mar 15, 2012 at 20:07 comment added Scott Pack @DanielPittman: But it's just so much more fun to call it "fancy internal" garbage.
Mar 15, 2012 at 20:06 comment added Daniel Pittman That isn't any sort of "fancy internal input/output redirection" - just the plain, boring regular stuff. ssh reads from STDIN, just like any other tool, and passes it to the remote process. :)
Mar 15, 2012 at 20:05 history answered Scott Pack CC BY-SA 3.0