Originally Posted by ASTRAPI
*I know is better to use ssh keys but i need for this case to do it this way.....
doubt that. Please explain why you think that's the case and we can go from there. I can't say that there's never
a reason to script up an rsync/ssh/scp command with a plain-text password, but I can say that it's extremely rare. So, if you describe the situation we can help you better. If you do in fact need to provide a plain-text password in the script for everybody to see (which again is extremely rare, but possible), it is possible to do that, we just want to make sure this is the right solution for your problem, since it poses security problems out the wazoo.