To use rsync over ssh with username and passoword you need to install sshpass if it is not already installed on your system. You can install it using the package manager for your Linux distribution. For example, on Ubuntu, you can use the following command
sudo apt-get install sshpass
sshpass -p ‘your_password’ rsync -avz -e ‘ssh -o StrictHostKeyChecking=no’ /path/to/source user@remote:/path/to/destination