From: J. B. <bak...@gm...> - 2012-02-15 10:05:07
|
On Wed, 15 Feb 2012 15:28:30 +0530 "J. Bakshi" <bak...@gm...> wrote: > On Wed, 15 Feb 2012 10:44:45 +0100 > Till Hofmann <hof...@go...> wrote: > > > On Wed, Feb 15, 2012 at 10:22 AM, J. Bakshi <bak...@gm...> wrote: > > > > > > > > > I also like the ssh+rsync combination for the same. How can I harden the > > > public key, > > > so that only the required commands will be executed and nothing else ? > > > > > > check > > http://backuppc.sourceforge.net/faq/ssh.html#how_can_client_access_as_root_be_avoided > > , > > that might answer your question. > > Perfect !!! > Thanks Additionally this link provides a script to make such user, keys and restriction automatically http://www.systemajik.com/blog/setting-up-backuppc-on-ubuntu/ |