* Chris Mason <[EMAIL PROTECTED]> [2002-08-03 21:29 +0200]: > /usr/bin/rsync -arvz -e ssh [EMAIL PROTECTED]:/home/files/* > /backup_disk/servername/ > > The output from the cron job is: > Permission denied, please try again. > When I run the script from the command line as root it works. From cron > it doesn't.
Same thing when you simplify to "ssh -v [EMAIL PROTECTED] echo hi" ? Can you please send a diff over cron's and your shell's output on this (simplified) command? Let me try one quick shot: Under cron your environment is different to what you have in your shell. In particular the PATH variable can be different. So, just in case you have multiple versions of ssh installed on your system, and cron's rsync called the other one than your's did, this could be an explanation. Check "locate ssh". -- Johannes Franken Professional unix/network development mailto:[EMAIL PROTECTED] http://www.jfranken.de/ -- redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list