平台與維運 2020 年 10 月 6 日

[Linux] Useful usage of sshpass and rsync

Use rsync to transfer file wit…

Use rsync to transfer file with sshpass

rsync -avP --rsh="/usr/bin/sshpass -p <password> ssh -o StrictHostKeyChecking=no -l root" script.py root@192.168.98.28:~/
End of article
0
Would love your thoughts, please comment.x
()
x