Jay,
Why don't you configure ssh to not require a password with
an public key or one of the other methods. I can't imagine that
is any less in-secure than embedding the password into some script.
--
Phillip Moore | Cluster Administrator
[EMAIL PROTECTED] | "If you don't know what you're doing,
650.653.2895 | don't do it on a large scale." - Tom Gilb
On Mon, Feb 12, 2001 at 04:02:45PM +0000, Jay Moore wrote:
> How do I call rsync with -e ssh in a shell script run from cron. SSH
> requires a password. How do I pass the password to it from the script?