echo "<密码>" |sshpass -d0 rsync -av --timeout=120 --progress -e ssh <本地文件> <user>@<remote-host>:<remote-path>
Categories:
系统运维
echo "<密码>" |sshpass -d0 rsync -av --timeout=120 --progress -e ssh <本地文件> <user>@<remote-host>:<remote-path>