From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qtk2C-0000Qf-KX for garchives@archives.gentoo.org; Wed, 17 Aug 2011 17:36:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 693D821C2C0; Wed, 17 Aug 2011 17:35:59 +0000 (UTC) Received: from mail-ey0-f171.google.com (mail-ey0-f171.google.com [209.85.215.171]) by pigeon.gentoo.org (Postfix) with ESMTP id CD42C21C175 for ; Wed, 17 Aug 2011 17:35:04 +0000 (UTC) Received: by eyg24 with SMTP id 24so641405eyg.16 for ; Wed, 17 Aug 2011 10:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=SLr17ZDfQ0iH7uj57kMWH5q/3wLD4gCHuC8JK1RxmCM=; b=U8e8Dwy4QcjOEV9+aaOi00l872wgRhLHOc7BRdjsV/1RV1GP4UkbjZHWj8mPvz563U eeM5iX5Fj8sdE/cHjIx4DKRRtPHcxCQuJF8tdTesWXs/yiSztezYe3VEA65WX1U5vwnp oRU3nYNSRF5du+V7cqhreN4xHn9gdxGZ7P+X8= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.14.146.15 with SMTP id q15mr425097eej.236.1313602503971; Wed, 17 Aug 2011 10:35:03 -0700 (PDT) Received: by 10.14.100.140 with HTTP; Wed, 17 Aug 2011 10:35:03 -0700 (PDT) In-Reply-To: <2835390.opqSYxfPPv@eve> References: <54732072.QyOj10dyxT@eve> <2835390.opqSYxfPPv@eve> Date: Wed, 17 Aug 2011 10:35:03 -0700 Message-ID: Subject: Re: [gentoo-user] {OT} rdiff-backup: push or pull? From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 7fe0851bcaf7b98ff3ebd01aa70abdd0 >> =A0Is there a way to >> restrict SSH keys to the rsync command? > > Yes, via the "authorized_keys" file. you can add a "command" directive. t= his > will always force that command to be executed whenever a connection is ma= de > using this key. I'm using the command directive with rdiff-backup like command=3D"rdiff-backup --server" but I can't figure out the rsync command to specify. Is anyone restricting an SSK key to rsync with the command directive? - Grant