Reference
Use sshpass
sshpass -p 'sshpassword' rsync --progress -avz -e ssh test@remhost:~/something/ ~/bak/
To bypass error when connecting to a new server, disable StrictHostKeyChecking
sshpass -p "yourpassword" rsync -rvz -e 'ssh -o StrictHostKeyChecking=no -p 22' --progress root@111.111.111.111:/backup/origin /backup/destination/