rdist6 won't let root use ssh transport

Vivek Khera vivek at khera.org
Mon May 23 08:10:34 PDT 2005

On May 18, 2005, at 3:27 PM, Tim Howe wrote:

>> rdist6 as root, it ignores the -P /usr/bin/ssh flag an tries to use
>> rcmd directly, which fails since my target systems do not have that
>> service running.
> Might I suggest looking into rsync?  It has excellent support for ssh
> (and in modern versions even defaults to using it for transport)  
> and in
> general I've found it more amenable to scripting and sensible defaults
> than rdist.  I and colleagues had excellent luck at a past employer of
> mine porting rdist-based applications to rsync for additional

Any suggestion on how to emulate the 'special' trigger in rdist where  
it runs a command on the remote host only if a matching file was  
updated?  I'd rather not run an expensive database rebuild if the  
source file wasn't altered.


Vivek Khera, Ph.D.
+1-301-869-4449 x806

More information about the freebsd-stable mailing list