i have successfully able to write a auto backup script for transferring my backups in another server (using key based authentication). i have put the following line in a file and put the file in /etc/cron.monthly/ directory. it seems working fine.

rsync --recursive --times --stats --delete --progress /backup/cpbackup/monthly/*.gz [email protected]:/backup/another_server_monthly/

however, i now want to do another thing. i want that the archives in remote server should automatically be password protected. that mean after or while files are copied/copying in remote server, they are automatically password protected that I supply initially in the script.

any help regarding this?