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 u...@mysite.com echo foo >~/file" to work (i.e., so that "foo" gets
written to ~/file) and then rsync should work too.

-- 
Matt

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to