Re: how to ssh in cron

2001-02-12 Thread John Todd
>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

Re: how to ssh in cron

2001-02-12 Thread tim . conway
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:

Re: how to ssh in cron

2001-02-12 Thread Phillip Moore
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

Re: how to ssh in cron

2001-02-12 Thread Joe Rice
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 to ssh in cron

2001-02-12 Thread Jay Moore
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