Article 6DA85 rsync over ssh

rsync over ssh

by
kzo81
from LinuxQuestions.org on (#6DA85)
Hi,

I would like to upload like this, once I did this but something is wrong with the syntax, could you help me out?

Code:sshpass -p secret rsync -aevvv --timeout=3 --remove-source-files 'ssh -p 2222 -o StrictHostKeyChecking=no' /mnt/data/ user1@1.1.1.1:folder1Code:rsync -av --remove-source-files --timeout=3 -e "sshpass -p secret ssh -o StrictHostKeyChecking=no -p 2222" /mnt/data/ user1@1.1.1.1:folder1Thanks
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments