Skip to content
/ fcp Public

fcp (fast copy): wraps ssh and netcat to copy stuff over the network faster than ssh alone.

Notifications You must be signed in to change notification settings

toofar/fcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

SSH/SCP are too slow. Use netcat instead.

Uses ssh to bootstrap a netcat (actually nc) pipe so you don't get limited by ssh. On my direct ethernet link at home I get ~70 MB/s compared to ~20 MB/s with scp.

You can transfer files to and from local and remote hosts or from a remote host to a different remote host (assuming they have a route to each other). Can also do local to local copies but it isn't particularly functional.

Multiple source paths are not currently supported.

Requires tar, basename, dirname, cat, nc and any dest/source host and additionally find on the source host and getopt on the controlling host.

If you have bash-completion installed you should be able to re-use scp's completion of remote files etc with complete -F _scp -o nospace fcp.

Usage: fcp [-c] [-p portno] [--] [srchost:]srcpath [[dsthost:]dstpath]

Copy files between hosts on a network. Uses tar and netcat (nc) for
transferring data and ssh for setting up the transport.
`dstpath` defaults to the current directory, use "-" to get a tarball on
stdout.

Options:
  -c         Tell tar to use gzip compression.
  -p portno  Port used by netcat. Defaults to 4365.

Released under the zlib license: http://opensource.org/licenses/Zlib

About

fcp (fast copy): wraps ssh and netcat to copy stuff over the network faster than ssh alone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages