There is a tool called "Expect" which runs fine from cron.It's basically a script
wherein you write the commands to be executed.The login and password have to be
hardcoded in the script.(I don't know if there is something new which supports
encrypted passwds)
Take a look at:
http://expect.nist.gov
Vineeta
--
[EMAIL PROTECTED] wrote:
> Is there a way to establish an ssh2 session without being prompted for a password?
>I'm trying to set up a cron job that will perform remote backups and I don't want to
>set up an FTP server for this. I've read through the instructions, and haven't found
>anything (anything obvious to me, anyway). I've set up public key authentication,
>and can log in provided that I give the proper password. I'd like to set this thing
>up to run without any user intervention if possible.
>
> Thanks!
> --
> Steve
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list