restricting rsync over ssh

Brian D. Hamm bdhamm at
Wed May 22 11:04:02 EST 2002

Is it true that when running rsync via ssh (i.e. rsync -e ssh ...) the
rsyncd.conf file is not applicable on the remote since rsync is launched
via the ssh exec call once connected rather than from rsyncd as in a
direct connect.

If so, I am trying to find the best way to restrict rsync -e ssh on the
remote machine.  Prepending the authorized_keys entry with
command='rsync ...' 1024... results in the 'Protocol mismatch - is your
shell clean?' error.


Brian D. Hamm, CISSP, CCNA
Network Design & Implementation
(o) 727-939-3080
(c) 727-424-4384
(f) 240-266-7185
(e) bdhamm at

More information about the rsync mailing list