[scponly] rsync and bwlimit
thomas polnik
thomas.polnik at idpraxis.de
Fri May 23 10:36:54 EDT 2003
Hallo Joe,
(Sorry, my english ist not so good, but I hope, you can understand me.
:-) )
> if i understand correctly, bwlimit is bandwidth limiting - what exactly do
> you mean by doesnt work?
Yes, this is correct.
> Does rsync reject the option completely as
> invalid or does the bandwidth consumption exceed the limit you specified?
scponly reject the option, not rsync. The option bwlimit expect a number
and scponly does not like numbers.
I get follow messages:
sender:
thomasp at pegasus:~> rsync -an --bwlimit=500 -e ssh trafficanalyse/
kinloop at 10.10.10.222:/home/kinloop/
kinloop at 10.10.10.222's password:
invalid characters in scp command!
here:=500 . /home/kinloop/
try using a wildcard to match this file/directory
unexpected EOF in read_timeout
receiver (/var/log/messages):
May 23 09:38:32 troja sshd[1059]: Accepted password for kinloop from
10.10.10.50 port 1022
May 23 09:38:32 troja [1062]: 3 arguments in total.
May 23 09:38:32 troja [1062]: arg 0 is scponly
May 23 09:38:32 troja [1062]: arg 1 is -c
May 23 09:38:32 troja [1062]: arg 2 is rsync --server -vnlogDtpr
--bwlimit=500 . /home/kinloop/
May 23 09:38:32 troja [1062]: opened log at LOG_AUTHPRIV, opts
0x00000009
May 23 09:38:32 troja [1062]: retrieved home directory of
"/home/kinloop" for user "kinloop"
May 23 09:38:32 troja [1062]: setting uid to 503
May 23 09:38:32 troja [1062]: processing request: "rsync --server
-vnlogDtpr --bwlimit=500 . /home/kinloop/"
May 23 09:38:32 troja [1062]: bad request: rsync --server -vnlogDtpr
--bwlimit=500 . /home/kinloop/ [username: kinloop(503), IP/port:
10.10.10.50 1022 22]
> have you tested that bwlimit works when you use rsync over a regular
> shell?
Yes, i did it.
- rsync with the option bwlimit and /bin/bash as shell works fine.
- rsync without the option bwlimit and /usr/local/bin/scponly as shell
works fine.
Regards,
thomas polnik
More information about the scponly
mailing list