Re:Show HN: Quickly copy a file between computers
by huhsamovar on Saturday February 16, 2013 @12:12PM
(#5232134)
$ scp file host.example.com:
[ Parent
| on HN ]
Re:Show HN: Quickly copy a file between computers
by niggler on Saturday February 16, 2013 @12:17PM
(#5232160)
SCP is significantly slower than FTP (and performance was an explicit goal of the project)
Re:Show HN: Quickly copy a file between computers
by misframer on Saturday February 16, 2013 @01:21PM
(#5232393)
This method isn't as fast since it uses encryption.
Re:Show HN: Quickly copy a file between computers
by halayli on Saturday February 16, 2013 @01:49PM
(#5232497)
Yeah few milliseconds are going to make a difference here.
Re:Show HN: Quickly copy a file between computers
by diginux on Saturday February 16, 2013 @02:13PM
(#5232591)
For big files it would make a very noticeable difference actually, try scp with different encryption algorithms even and you will see how much it matters.
With that said, by 'quickly', I was focusing more on easiness and simplicity.
Re:Show HN: Quickly copy a file between computers
by andrewcooke on Saturday February 16, 2013 @03:05PM
(#5232783)
there's a constant size overhead, and file copying is network, not cpu limited (isn't it?). so why would large files be significantly slower?
Re:Show HN: Quickly copy a file between computers
by diginux on Saturday February 16, 2013 @03:20PM
(#5232850)
I am not sure it is fair to say scp is cpu limited per se, but it is slow.
A quick article that may help you out: http://intermediatesql.com/linux/scrap-the-scp-how-to-copy-d...
Re:Show HN: Quickly copy a file between computers
by andrewcooke on Saturday February 16, 2013 @03:44PM
(#5232945)
if you read the article, it's because the faster alternatives use multiple streams and/or use compression. it's got nothing to do with encryption. and you can get scp to compress your data first (-C).
Re:Show HN: Quickly copy a file between computers
by diginux on Saturday February 16, 2013 @05:05PM
(#5233216)
Compression also slows it down: http://www.spikelab.org/transfer-largedata-scp-tarssh-tarnc-...
This has been my experience in practice, too.
Re:Show HN: Quickly copy a file between computers
by diginux on Saturday February 16, 2013 @01:33PM
(#5232434)
This assumes ssh is installed and running.
Re:Show HN: Quickly copy a file between computers
by mjschultz on Saturday February 16, 2013 @07:24PM
(#5233686)
`bcp` assumes `make` and `gcc` along with a handful of devel headers are installed.
Re:Show HN: Quickly copy a file between computers
by bdunbar on Sunday February 17, 2013 @12:46AM
(#5234327)
Your intended use is a computer that doesn't have SSH running?