Save Log File

Matt McCutchen matt at
Thu Nov 18 14:14:52 MST 2010

On Thu, 2010-11-18 at 10:56 -0800, rlinsurf wrote:
> Looks like I have some more information. The task is send an email to my user
> which contains this:
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=jeffrey>
> X-Cron-Env: <USER=jeffrey>
> X-Cron-Env: <HOME=/Users/jeffrey>
> Date: Fri, 23 Jul 2010 03:30:03 -0400 (EDT)
> Permission denied, please try again.
> Permission denied, please try again.
> Permission denied (publickey,password,keyboard-interactive).
> rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
> rsync error: unexplained error (code 255) at io.c(601) [Receiver=3.0.7]
> When I run the command in Terminal, it does ask for my password, but I never
> had any problem when it's run as a cron task. 

This doesn't appear to be an rsync issue.  Get a cron job like
"ssh user at echo foo >~/file" to work (i.e., so that "foo" gets
written to ~/file) and then rsync should work too.


More information about the rsync mailing list