ssh in cron permission problems

From: Scott J. Buecker (sbuecker@netjets.com)
Date: Mon Apr 07 2003 - 11:25:55 EDT


I have a simple script that rsync's data to another server using ssh as
the transport protocol. I can execute it from the command line with no
problem. When I put it in root's cron I get the following:

Permission denied, please try again.
Permission denied.

I think it has something to do with the way cron spawns a shell and
tries to ssh to the remote server without my key/ssh-agent being passed?
Anyone run into this.? Ideas?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:08 EDT