[scponly] unable to rsync with rsync-enabled scponlyc - even without -e ssh

user user at dhp.com
Thu Oct 27 18:01:52 EDT 2005


Hello,

On Thu, 27 Oct 2005, Kaleb Pederson wrote:

> How does rsync access SSH?  Since you are within your chroot, perhaps it's 
> having difficulties accessing it?
> 
> Also, you could try stracing the process to find out what it's doing.
> 
> > and on the server side:
> >
> > # cat /var/log/debug.log
> > Oct 27 15:43:07 ufs2 [10155]: 3 arguments in total.
> > Oct 27 15:43:07 ufs2 [10155]:   arg 0 is scponlyc
> > Oct 27 15:43:07 ufs2 [10155]:   arg 1 is -c
> > Oct 27 15:43:07 ufs2 [10155]:   arg 2 is rsync --server -vlogDtpr . /good
> > Oct 27 15:43:07 ufs2 [10155]: opened log at LOG_AUTHPRIV, opts 0x00000009
> > Oct 27 15:43:07 ufs2 [10155]: retrieved home directory of "/home" for user
> > "good"
> > Oct 27 15:43:07 ufs2 [10155]: chrooting to dir: "/home"
> > Oct 27 15:43:07 ufs2 [10155]: setting uid to 1002
> > Oct 27 15:43:07 ufs2 [10155]: processing request: "rsync --server
> > -vlogDtpr . /good"


Well ... here is something I noticed - in the debug log, it says it is
processing the request:

"rsync --server -vlogDtpr . /good"

but that option does not even exist ... there is no --server option in the
man page for rsync, and trying to run that manually on the server side
produces an error.

Why am I seeing "rsync --server" in the debug log, when that does not even
exist ?  Is there something different in the usage of rsync on FreeBSD ?

Thanks very much.





More information about the scponly mailing list