|
||||||||
|
|
#1
|
|
Hello,
I managed to get everything working with scponly, rsync, scp and a chroot (it was not easy) Everything ? Not quite. I cannot use the option "--bwlimit=n" in my rsync command. I hade to modify scponly.h so that it accepts the '=' character (and then recompile), so I do not get any more the error of the invalid character '='. But now I get this error in my auth.log scponly server : scponly[93975]: option --bwlimit=50 is not permitted for use with /usr/bin/scp and the following line : "tried to use disallowed argument" Here is my rsync command on the client : rsync -avx -e ssh -C --bwlimit=50 What is wrong with the "--bwlimit" argument ? Thanks. Jérôme. Jérôme |
|
#2
|
|||
|
|||
|
=?ISO-8859-15?Q?J=E9r=F4me?= <(E-Mail Removed)> writes:
>Hello, >I managed to get everything working with scponly, rsync, scp and a >chroot (it was not easy) >Everything ? Not quite. I cannot use the option "--bwlimit=n" in my >rsync command. >I hade to modify scponly.h so that it accepts the '=' character (and >then recompile), so I do not get any more the error of the invalid >character '='. >But now I get this error in my auth.log scponly server : >scponly[93975]: option --bwlimit=50 is not permitted for use with >/usr/bin/scp >and the following line : "tried to use disallowed argument" >Here is my rsync command on the client : >rsync -avx -e ssh -C --bwlimit=50 Exactly why are using scponly? |
|
#3
|
|||
|
|||
|
>> Hello, > >> I managed to get everything working with scponly, rsync, scp and a >> chroot (it was not easy) > >> Everything ? Not quite. I cannot use the option "--bwlimit=n" in my >> rsync command. > >> I hade to modify scponly.h so that it accepts the '=' character (and >> then recompile), so I do not get any more the error of the invalid >> character '='. > >> But now I get this error in my auth.log scponly server : > >> scponly[93975]: option --bwlimit=50 is not permitted for use with >> /usr/bin/scp > >> and the following line : "tried to use disallowed argument" > >> Here is my rsync command on the client : > >> rsync -avx -e ssh -C --bwlimit=50 > > > Exactly why are using scponly? To be able to trap the users in their chrooted environment (it is a shered server, so I do not want the user to browse the system). Except the "bwlimit", scponly just works great. |
|
#4
|
|||
|
|||
|
In article <f0hpag$1a52$(E-Mail Removed)>, (E-Mail Removed)
says... > > To be able to trap the users in their chrooted environment (it is a > shered server, so I do not want the user to browse the system). Except > the "bwlimit", scponly just works great. > you could also use rssh in a chrooted env. It works fine. http://www.pizzashack.org/rssh/ |
![]() |
| Tags |
| rsync, scponly |
| Thread Tools | |
| Display Modes | |
|
|