I've done something similar to what is at http://www.jdmz.net/ssh/ but it restricts rsync to certain directories based on the key used. For example, one key has read/write access, the other has read-only access: command="rrsync logs/client" ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzGhEeNlPr... command="rrsync -ro results" ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAmkHG1WCjC... http://www.inwap.com/mybin/miscunix/?rrsync -Joe
On Thu, Sep 30, 2004 at 05:52:42PM -0700, Joe Smith wrote:> I've done something similar to what is at http://www.jdmz.net/ssh/ > but it restricts rsync to certain directories based on the key used. > http://www.inwap.com/mybin/miscunix/?rrsyncThat looks pretty sweet! I've added a link to your script to the resource links on the rsync website. Thanks! ..wayne..