>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?
>
>V/r
>Jay
The public key method works. I'm a bit more paranoid, however. I
like to enter my password after the machine boots up, so that I don't
h
keys (ssh-keygen)
Tim Conway
[EMAIL PROTECTED]
303.682.4917
Philips Semiconductor - Colorado TC
1880 Industrial Circle
Suite D
Longmont, CO 80501
[EMAIL PROTECTED]@[EMAIL PROTECTED] on 02/12/2001 09:14:26 AM
Sent by:[EMAIL PROTECTED]
To: [EMAIL PROTECTED]@SMTP
cc:
Subject:
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 d
The easiest way would be to use the public/private key mechanisms.
man ssh-keygen
i use rsync -e ssh in cron for most of the things i do with rsync and
it works well.
joe
Jay Moore([EMAIL PROTECTED])@Mon, Feb 12, 2001 at 04:02:45PM +:
> How do I call rsync with -e ssh in a shell script run
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?
V/r
Jay