Rsync 服务安全加固
一、隐藏 module 信息
list = false二、使用权限控制
read only = true三、限制网络访问
hosts allow = 123.123.123.123五、启用账户认证
六、数据加密传输
最后更新于
list = falseread only = truehosts allow = 123.123.123.123最后更新于
auth users = ottocho
secrets file = /etc/rsyncd.secretsRsync -av --password-file=/etc/rsyncd.secrets test.host.com::files /des/pathRsync -av test.host.com:/path/to/files /des/path