SSH Tunnel Problem
Tevfik Karagülle
tevfik at itefix.no
Sun Dec 19 16:07:05 GMT 2004
Hi,
FAQ at http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=27
may help.
Rgrds Tev
cwRsync maintainer
> -----Original Message-----
> From: rsync-bounces+tevfik=itefix.no at lists.samba.org
> [mailto:rsync-bounces+tevfik=itefix.no at lists.samba.org] On
> Behalf Of d c
> Sent: 19. desember 2004 04:28
> To: rsync at lists.samba.org
> Subject: SSH Tunnel Problem
>
> I have set up an Rsync server on FreeBSD 5.3 and plan on
> having windows clients synchronize data to it.
>
> Rsync running as a daemon works fine. I can successfully
> copy data up to the server and view it via scp.
>
> Also- I can connect via ssh and run rsync as well.
>
> HOWEVER- I cannot connect "passwordless" with SSH and then
> connect to the rsync daemon. The following demonstartes what
> I would like to do:
>
> rsync -av -e "ssh -l myusername"
> "/cygdrive/pathtolocaldata"
> rsyncusername at 3.3.3.3::modulename --password-file filename
>
> When I run the above I successfully authenticate with SSH but
> then I get an error that the rsyncd.conf cannot be read.
> Permissions on the rsyncd.conf file are
>
> root:wheel -rw-r------
>
> I have tried chown to rsync:rync the user the daemon runs
> under as specified in my conf file.
>
>
> I would like the have the granularity of using rsyncd.conf.
>
> I was somewhat content with just using ssh but ssh wants to
> change the permissions on the upload directory where others
> can rwx. I tried changing the umask but apparently it is
> ignored when making an ssh connection.
>
> In addition- the local accounts on the server are setup for
> scponly.
>
> Any help would be greatly appreciated. I have been googling
> and experimenting for over two weeks. I believe everything
> is proper... :(
>
> TIA
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 250MB free storage. Do more. Manage less.
> http://info.mail.yahoo.com/mail_250
> --
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read:
> http://www.catb.org/~esr/faqs/smart-questions.html
>
More information about the rsync
mailing list