News for hackers. Stuff that matters.
Re:Pipe Viewer by fbergen on Wednesday October 19, 2022 @11:03AM (#33263264)
Also see `scp -l 200 bigfile.iso [email protected]:path/in/destination`

from man page:

-l limit

Limits the used bandwidth, specified in Kbit/s.

Re:Pipe Viewer by MayeulC on Wednesday October 19, 2022 @01:42PM (#33265485)
Also you probably shouldn't use scp. rsync and sftp have mostly the same semantics.

    rsync --bwlimit=2OOK bigfile.iso [email protected]:path/in/destination
    sftp -l 200 bigfile.iso [email protected]:path/in/destination
Although it seems that scp is becoming a wrapper around sftp these days:

https://www.redhat.com/en/blog/openssh-scp-deprecation-rhel-...

https://news.ycombinator.com/item?id=25005567