Answers:
SCP基本上使用SSH从本地到整个本地或通过网络从源到目的地进行简单的旧复制,但是您可以使用该-C
开关启用SSH压缩,从而有可能加快跨网络的数据复制。
RSYNC使用高效的校验和搜索算法在数据传输过程中自动优化网络连接,从而仅通过网络连接传输两组文件之间的差异。
同步
描述
rsync is a program that behaves in much the same way that rcp does, but has many more options and uses the rsync remote-update protocol to greatly speed up file transfers when the destination file is being updated. The rsync remote-update protocol allows rsync to transfer just the dif- ferences between two sets of files across the network connection, using an efficient checksum-search algorithm described in the technical report that accompanies this package.
SCP
描述
scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same secu‐ rity as ssh(1). scp will ask for passwords or passphrases if they are needed for authentication. File names may contain a user and host specification to indicate that the file is to be copied to/from that host. Local file names can be made explicit using absolute or relative pathnames to avoid scp treat‐ ing file names containing ‘:’ as host specifiers. Copies between two remote hosts are also permitted.
-C
没有。在管道传输过程中压缩数据?
rsync
命令行中未指定压缩或校验和。当然,文件内增量算法始终处于活动状态。可能就是这样scp
。