Ok figured it out ... I forgot to copy the rsync binary into the  
chroot. All is well. Thanks.

Sent from my iPhone

On Feb 12, 2009, at 16:02, Marc Skinner <[email protected]> wrote:

> ok, im new to rssh ...
>
> what i have working:
>
> i have a chrooted user dir for backups:
> i can successfully sftp, scp but rsync with ssh doesn't work for me.
> rsync with ssh does work if i have a user with no chroot!
>
> i'm pretty sure i have all the libraries i need in my chroot - i have
> compared ldd rsync output to the libs i have in the chroot and they  
> are
> all present.
>
> what am i doing wrong?  trying to get this working for a customer by
> tomorrow.
>
> thanks!
>
>
> command line i'm using to rsync a file to the chrooted backup server:
>
>
> [mskin...@tiny Download]$ rsync -ra -e ssh rhss-x1.test.cert.txt
> eskin...@bk1:
> eskin...@bk1's password:
>
> rsync: connection unexpectedly closed (0 bytes received so far)  
> [sender]
> rsync error: error in rsync protocol data stream (code 12) at  
> io.c(600)
> [sender=3.0.5]
>
> i have applied the patch from rsync30 thread so now i don't get the  
> "-e
> option issue"
>
> i also have tried it with an older rsync:
>
>
> [r...@twinkie ~]# rsync -ra -e ssh /data1/samba.d1 eskin...@bk1:
> eskin...@bk1's password:
> rsync: connection unexpectedly closed (0 bytes received so far)  
> [sender]
> rsync error: error in rsync protocol data stream (code 12) at  
> io.c(453)
> [sender=2.6.9]
>
>
> thanks for the help in advance!
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> rssh-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rssh-discuss

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to