[Pc_Support] Cigwin rsync and passwords

Bryan J. Smith b.j.smith at ieee.org
Mon May 15 00:17:50 EDT 2006


On Sun, 2006-05-14 at 22:50 -0500, Tim McDonough wrote:
> I'm using Cigwin and rsync to backup certain directories from a WinXP 
> machine to a Linux server. The method I use incorporates ssh. From a 
> command line everything works fine except that ssh always requests a 
> password. Could anyone familiar with this tool tell me how I could 
> pass ssh the password on the command line so I could run rsync from a 
> batch file and the scheduler?

Check your logs.  It's likely that you're getting a password prompt
because of security issues.  I.e., SSH doesn't like it when ~/.ssh/*
files are world readable and/or writable.

If you setup SSH on Windows, be sure to:  
A.  Make sure your home directory (and ~/.ssh) is on NTFS, and
B.  Lock it down, security wise


-- 
Bryan J. Smith            Professional, technical annoyance
mailto:b.j.smith at ieee.org      http://thebs413.blogspot.com
-----------------------------------------------------------
Americans don't get upset because citizens in some foreign
nations can burn the American flag -- Americans get upset
because citizens in those same nations can't burn their own





More information about the Pc_support mailing list