ftp等客户端工具都有限制速度的界面,刚查询了下scp也可以限制速度,查看help

使用-l参数,单位为KB/s

1
2
3
4
[root@cnwww ~]# scp help
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2
1
[[email protected]~]# scp  -l2000 testcp1214.zip  cn.liups.com:/tmp/ 

原文作者: liups.com

原文链接: http://www.liups.com/posts/649562da/

许可协议: 知识共享署名-非商业性使用 4.0 国际许可协议