I'm not a windows person, but you may have the environment set up
properly in the DOS shell and using different environment variables for
the scheduled task.=20

On Mon, 2006-12-18 at 11:43 -0700, Leon Vanderploeg wrote:
> Greetings,
> =20
> I am attempting to set up a scheduled rsync to back up a Windows Server 2=

> box to a Linux (Ubuntu) box. I have installed and configured openSSH
> (OpenSSH_3.8.1p1 on windows and OpenSSH_4.2P1 Debian-7ubuntu3.1) with RSA
> key. It works fine from a DOS command line (that is, it does not prompt =

> a password). When I create a Scheduled Task, it prompts for a password. =

> trouble shoot, I have created a simple script that just does =E2=80=9CSSH
> user@linuxHost=E2=80=9D. Again, it works fine at the DOS command prompt =

(no prompt
> for a password), but when set up as a scheduled task, it prompts for a
> password.=20
> =20
> I have tested the RSA key from an XP Home laptop to the Linux box. On th=

> XP laptop, the scheduled job works fine, so it seems to be unique to Wind=

> Server 2003. =20
> =20
> Any suggestions?
> =20
> Thanks in advance for any help,
> Leon
> =20
> =20