How to limit bandwidth used by git over SSH ?
- From
- Ralph Seichter <git-ml@seichter.de>
- Date
- Jul 17, 2011, 10:22 UTC
- Message-ID
- <4E22B7F7.4020701@seichter.de>
Hello list,
I'm not really sure if this is a git or SSH issue, but I haven't figured out a solution yet. To transfer my data between two machines, I use
git-push ssh://machineB.tld/foo/proj.git master
from machineA. Unfortunately, the machines are connected by a very low- bandwidth connection, which is completely choked by git-push. From what I've read so far, I guess this is the result of SSH setting TOS to "minimize delay", which prevents almost all other traffic during the push operation. Not good.
I haven't yet found a way of telling git (or SSH) to use no more than a given maximum bandwidth, like I could do with "scp -l {limit}". Did I miss something in the documentation?
Your help is appreciated.
-Ralph