I need to do rsync by ssh and want to do it automatically without the need of passing password for ssh manually.
rsync
ssh
I got it to work like this:
sshpass -p "password" rsync -ae "ssh -p remote_port_ssh" /local_dir remote_user@remote_host:/remote_dir