Permit SSH only

3 posts / 0 new
Last post
jbuccola
Offline
Last seen: 14 years 10 months ago
Joined: 01.05.2008 - 21:33
Permit SSH only

Is there a way to force rsync to only permit connections over ssh? I tried closing 873 on the firewall, but that broke the script. Once the SSH connection is made over 22, how can I be sure that Rsync is running securely?

Thanks in advance,
Jeff Buccola

itefix
Offline
Last seen: 6 hours 13 min ago
Joined: 01.05.2008 - 21:33
Re: Permit SSH only

You can use hosts allow=127.0.0.1 in your module definition in rsyncd.conf file. Only connections from 127.0.0.1 is allowed then.See manual page for rsync configuration file for more detailed info.

jbuccola
Offline
Last seen: 14 years 10 months ago
Joined: 01.05.2008 - 21:33
Re: Permit SSH only

You can use hosts allow=127.0.0.1 in your module definition in rsyncd.conf file. Only connections from 127.0.0.1 is allowed then.
See manual page for rsync configuration file for more detailed info.

Perfect. Thanks Tev.

Release news