Bug 2015

Summary: scp -l is resultless in the beginning
Product: Portable OpenSSH Reporter: kerecsen.liang <lqlzy27>
Component: scpAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WONTFIX    
Severity: normal CC: djm
Priority: P2    
Version: 5.8p2   
Hardware: ix86   
OS: Linux   

Description kerecsen.liang 2012-06-01 18:49:34 AEST
OS:fedora 16
kernel:3.1.2-1.fc16.i686.PAE
rpm:openssh-clients-5.8p2-25.fc16.i686

  When I run "scp -l 4000 OSAOS-1.0-x86_64.iso root@192.168.160.200:/tmp",screen print:
"OSAOS-1.0-x86_64.iso   0% 3840KB   2.2MB/s   03:57 ETA"
  It's not fit the man says:"-l limit,Limits the used bandwidth, specified in Kbit/s." Although it will slow down to 500KB/s,but there is some problem happen(see the PS at the end).I tried several times it's the same.

Additional Information:
  One of my friends doesn't meet the problem,his computer information is: fedora 14,2.6.35.14-106.fc14.i686.PAE,openssh-clients-5.5p1-24.fc14.2.i686

PS:
  It's a problem that when the bandwidth is limited in the office,my VPN will be cut off because losing the VPN's packages due to scp go beyond the limit of the bandwidth.
Comment 1 Damien Miller 2012-07-20 10:21:16 AEST
scp's bandwidth limitation is "best effort", approximate and takes a little while to converge on the specified rate. 

If you need more precise shaping then you should do it using your operating system and/or networking equipment.
Comment 2 Damien Miller 2015-08-11 23:03:51 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1