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: [email protected]
          Reporter: [email protected]

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@danban-1 ~]# scp -l 10240 CentOS-7-x86_64-Everything-1804.iso
[email protected]:/

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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to