From owner-freebsd-stable@FreeBSD.ORG Mon May 23 15:10:33 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D96BD16A41C for ; Mon, 23 May 2005 15:10:33 +0000 (GMT) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8D7743D48 for ; Mon, 23 May 2005 15:10:33 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 0ACA2B87A for ; Mon, 23 May 2005 11:10:33 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v730) In-Reply-To: <87y8acs5at.fsf@beaker.data-secure.net> References: <87y8acs5at.fsf@beaker.data-secure.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Mon, 23 May 2005 11:10:32 -0400 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.730) Subject: Re: rdist6 won't let root use ssh transport X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 15:10:34 -0000 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. Thanks! Vivek Khera, Ph.D. +1-301-869-4449 x806