[nycbug-talk] rsync only for backups

Okan Demirmen okan
Wed Nov 9 16:05:31 EST 2005


On Wed 2005.11.09 at 15:52 -0500, George Rosamond wrote:
> Have been using this for a few clients to do rsync with OpenSSH on 
> Windows, so thought I'd spread the word.
> 
> http://freebsdwiki.net/index.php/SSH:_Limiting_to_SCP_or_Rsync_only
> 
> Basically, you compile an rsync/scp/sftp-only shell with the c code 
> provided (which you can of course edit), and replace the remote user's 
> shell who's backing up their stuff.

i imagine you are using keys, so why not use what sshd(8) gives you?

that's just me - try to use what you can in base first.

> This is not a 100% secure solution as the user can rsync/scp/sftp to 
> anywhere that they have rights to. . . but at least it's a start.

or systrace(1) ...

cheers




More information about the talk mailing list