Networking Forums

Networking Forums > Computer Networking > Linux Networking > Scponly and rsync

Reply
Thread Tools Display Modes

Scponly and rsync

 
 
Jérôme
Guest
Posts: n/a

 
      04-20-2007, 06:25 PM
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.
 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      04-20-2007, 06:49 PM
=?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
 
Jérôme
Guest
Posts: n/a

 
      04-23-2007, 08:02 AM

>> 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
 
flying_dady
Guest
Posts: n/a

 
      04-26-2007, 05:30 AM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can I rsync on UDP? Jagadeesh Linux Networking 19 10-27-2008 02:07 PM
Rsync Mtek Linux Networking 21 07-25-2008 12:59 AM
How to get log file for rsync operation? Does rsync also delete remote files? Goran Ivanic Linux Networking 9 05-05-2008 04:58 PM
question about rsync bahoo Linux Networking 2 03-21-2007 11:54 PM
rsync + syslog Captain Dondo Linux Networking 2 02-19-2007 01:05 PM



1 2 3 4 5 6 7 8 9 10 11