Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Scponly and rsync

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2007, 07:25 PM
Default Scponly and rsync



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
Reply With Quote
  #2  
Old 04-20-2007, 07:49 PM
Unruh
Guest
 
Posts: n/a
Default Re: Scponly and rsync

=?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?


Reply With Quote
  #3  
Old 04-23-2007, 09:02 AM
Jérôme
Guest
 
Posts: n/a
Default Re: Scponly and rsync


>> 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.
Reply With Quote
  #4  
Old 04-26-2007, 06:30 AM
flying_dady
Guest
 
Posts: n/a
Default Re: Scponly and rsync

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/
Reply With Quote
Reply

Tags
rsync, scponly

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:10 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.