Sat*_*ato 13 networking linux ssh rsync scp
scp user@aws-ec2:~/file filersync --partial --progress -Pav -e ssh user@aws-ec2:~/file filescp只给我 200K/s,但rsync给我 1.9M/s
我测试了几次,结果都是一样的。
rsync 使用多线程??
SCP基本上是在本地或使用 SSH 跨网络执行从源到目标的普通旧副本,但您可以使用该-C开关启用 SSH 压缩,以潜在地加速跨网络的数据复制。
RSYNC仅通过网络连接传输两组文件之间的差异,使用有效的校验和搜索算法在数据传输期间自动优化网络连接。
同步
描述
Run Code Online (Sandbox Code Playgroud)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
描述
Run Code Online (Sandbox Code Playgroud)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.
| 归档时间: |
|
| 查看次数: |
8639 次 |
| 最近记录: |