how to restrict rscync to ONLY use ssh-pubkey transport & auth?
Bob Hutchinson
hutchlists at midwales.com
Sun Oct 30 18:03:07 GMT 2005
On Saturday 29 Oct 2005 19:03, OpenMacNews wrote:
> hi all,
>
> i have two OSX boxes set up for ssh via pubkey auth only.
>
> i'm setting up rsync comms for the first time.
>
> i have rsyncd running on box A.
>
> no-auth rsync from box B to/from box A's rsyncd works as expected.
>
> rsync at B to/from rsyncd at A using pubkey-auth'd-ssh trasport:
>
> rsync --verbose --stats --recursive -e "ssh -F $MY_SSH_CONF -l $MY_USER"
> /path_to_src_dir/* BOX_A_FQDN::targetdir
>
> ALSO works as expected.
>
> i've easily managed to turn connection/sync-ing ON. so, how do i turn
> specific access types OFF?
>
> specifically, i'd like to limit rsync to ONLY allow the pubkey+ssh
> transport, and NOT any other channel?
sounds like a ssh configuration issue to me
don't know where that is configured on macs, but under linux/openssh it is
in /etc/ssh/sshd_config
HTH
--
-----------------
Bob Hutchinson
Midwales dot com
-----------------
More information about the rsync
mailing list