[CentOS] Howto: Extremely tight security rsync shell for backups

Tue Sep 24 20:22:32 UTC 2013
Leon Fauster <leonfauster at googlemail.com>

Am 23.09.2013 um 23:58 schrieb m.roth at 5-cent.us:
>> This prohibits SSH logins via password, but does not strictly enforce
>> what commands are allowed to be run (and all options allowed) by a
>> specific which is what I was looking for.
>> 
>> Having done a bit more research, It does appear that you could use the
>> "ForceCommand" option and disable passwords altogether for a user to
>> achieve a similar effect with SSHD.
> 
> Right, but a) it very much limits who can get in. Another thing is that
> you can run the backups from a cron job as a push, instead of a pull.

Conceptually i wouldn't recommend this from a public server (as mentioned). 

--
LF