[Bug 2927] New: scp -l can't limit the bandwidth at the first several seconds

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Nov 9 00:45:22 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2927

            Bug ID: 2927
           Summary: scp -l can't limit the bandwidth at the first several
                    seconds
           Product: Portable OpenSSH
           Version: 7.7p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: scp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: lihao129 at huawei.com

When I use `-l` to limit the bandwidth to `10240Kbits`, the actual
bandwidth at the first several seconds is `10MB/s`. After several
seconds, the bandwidth will be limitted to `1MB/s` as expetced. I don't
know if this is a bug.

[root at danban-1 ~]# scp -l 10240 CentOS-7-x86_64-Everything-1804.iso
root at xxx.xxx.xxx.xxx:/

Authorized users only. All activities may be monitored and reported.
CentOS-7-x86_64-Everything-1804.iso                                    
                                                                       
                        0%   10MB  10.0MB/s   14:53 ETA

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list