rsync客户端总提示auth failed on module xxxx,是何道理?

gezigezi001 gezigezi001 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
两台服务器,a(ip:160)、b(ip:162),a作为rsync服务端,b作为rsync客户端

a服务器中的rsyncd.conf配置如下:

uid = nobody
gid = nobody
use chroot = no
max connections = 200
timeout = 600
strict modes=no
port = 873
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log

[backup]
path = /home/bak/testSync
comment = This is test
auth users = test
secrets file = /etc/rsync.ps
read only = no
list = no


在b服务器中:

rsync -vzrtopg --progress --password-file=/etc/rsync.pas /www/test/ test@192.168.0.160::backup

#报错如下:
@ERROR: auth failed on module backup
rsync error: error starting client-server protocol (code 5) at main.c(1503) [sender=3.0.6]


查到诸多资料,都说是认证(密码)问题,我都一一检查过,依旧无效,比如:


崩溃中,特来求助,谢谢了
...全文

相关推荐

评论 1
收藏 已收藏
分享
返回顶部