[nycbug-talk] rsync only for backups

George R. george
Wed Nov 9 15:52:05 EST 2005


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.

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.

George




More information about the talk mailing list