Re: problem with rsync-daemon via ssh

2014-02-19 Thread Carlos Carvalho
Kevin Korb (k...@sanitarium.net) wrote on 17 February 2014 21:13: OK, I just did a quickie test. When I 'ssh user@host rsync --daemon - --server .' an I don't have an rsyncd.conf file in my home dir I get no output like you do (an error message here would be nice). If I do have a proper

Re: problem with rsync-daemon via ssh

2014-02-17 Thread Carlos Carvalho
Kevin Korb (k...@sanitarium.net) wrote on 14 February 2014 12:51: Try running that ssh command line yourself and see what it says. Doesn't say anything. But rsync is indeed run. I changed it to this script: #!/bin/bash echo run! echo run! and ural# rsync -avv -e ssh -l root ./orig/

Re: problem with rsync-daemon via ssh

2014-02-17 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, I just did a quickie test. When I 'ssh user@host rsync --daemon - --server .' an I don't have an rsyncd.conf file in my home dir I get no output like you do (an error message here would be nice). If I do have a proper rsyncd.conf file I get

Re: problem with rsync-daemon via ssh

2014-02-14 Thread Carlos Carvalho
Kevin Korb (k...@sanitarium.net) wrote on 13 February 2014 21:47: modules are defined in an rsyncd.conf file. That file needs to be in the home dir of the user. You mean the config file must be called rsyncd.conf instead of module? That'd be easy to solve but unfortunately it didn't work. I

Re: problem with rsync-daemon via ssh

2014-02-14 Thread Matthias Schniedermeyer
On 13.02.2014 23:38, Carlos Carvalho wrote: I'm trying to transfer something to another machine launching a once-only daemon through ssh with this command: rsync -avv -e ssh -l user ./orig/ machine::module/ where module is the name of a file in the home dir of user with the following:

Re: problem with rsync-daemon via ssh

2014-02-14 Thread Carlos Carvalho
Matthias Schniedermeyer (m...@citd.de) wrote on 14 February 2014 13:06: You mixed the options from remote shell with rsync daemon. Rsync is used either as 'rsync over SSH'(/remote shell) OR daemon-mode. No, there's a third method. Search for USING RSYNC-DAEMON FEATURES VIA A REMOTE-SHELL

Re: problem with rsync-daemon via ssh

2014-02-14 Thread Paul Slootman
On Fri 14 Feb 2014, Matthias Schniedermeyer wrote: You mixed the options from remote shell with rsync daemon. Rsync is used either as 'rsync over SSH'(/remote shell) OR daemon-mode. Matthias, Ik recommend you check out the USING RSYNC-DAEMON FEATURES VIA A REMOTE-SHELL CONNECTION part of the

Re: problem with rsync-daemon via ssh

2014-02-14 Thread Matthias Schniedermeyer
On 14.02.2014 13:17, Paul Slootman wrote: On Fri 14 Feb 2014, Matthias Schniedermeyer wrote: You mixed the options from remote shell with rsync daemon. Rsync is used either as 'rsync over SSH'(/remote shell) OR daemon-mode. Matthias, Ik recommend you check out the USING RSYNC-DAEMON

Re: problem with rsync-daemon via ssh

2014-02-14 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try running that ssh command line yourself and see what it says. On 02/14/2014 06:34 AM, Carlos Carvalho wrote: Kevin Korb (k...@sanitarium.net) wrote on 13 February 2014 21:47: modules are defined in an rsyncd.conf file. That file needs to be in

problem with rsync-daemon via ssh

2014-02-13 Thread Carlos Carvalho
I'm trying to transfer something to another machine launching a once-only daemon through ssh with this command: rsync -avv -e ssh -l user ./orig/ machine::module/ where module is the name of a file in the home dir of user with the following: path = /path/to/home/transfer The ssh connection

Re: problem with rsync-daemon via ssh

2014-02-13 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 modules are defined in an rsyncd.conf file. That file needs to be in the home dir of the user. On 02/13/2014 08:38 PM, Carlos Carvalho wrote: I'm trying to transfer something to another machine launching a once-only daemon through ssh with this