This may seem odd, but I'm trying to start rsync in daemon mode from an ssh connection... ie, something like this:

ssh host1 /usr/bin/rsync --daemon --port=9999 --config=/path/to/config.txt

the reason why is i need to start it on 40 machines and manually logging into each one is a pain. even with copying and pasting. i'd rather just write a shell script to do it in a loop.

anyway it doesn't work.  it just prints

@RSYNCD: 26

i'm assuming since "ssh host command" doesn't create a tty that rsync gets confused and thinks it is already daemonized.

is there any workaround or do i have to just bite the bullet and do this the nasty way.

-jsd-

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to