Rsyncing between windows client and gentoo server, over ssh, using key for auth.
I'm having quite a time getting this working.
Effectively, what I want to do is have a one-click rsync over ssh. The client is a windows machine, and I've been attempting to use cwrsync for the connection. I've got a key stored in Pageant, so I can use Putty and TortoiseSVN to connect just fine. However, if I try to use cwrsync with Plink as the shell, it is unable to get the key from Pageant. This is apparently a known problem, and seems to somehow relate to communication between programs started through cygwin (as Plink is in this case), and programs started regularly (as Pageant is in this case).
So, the solution seems to be installing Cygwin, and running Pageant with Cygstart. This appears to work, except that once the connection is established, cwrsync says "Unable to write to standard output", and quits. The only reference I found to this problem says that perhaps something is being printed on non-interactive logins. I'm not entirely sure what this means.
Additionally, when I do log in using Plink run by cygstart, the command prompt is weird. Perhaps this is related, it looks as follows.
?[01;32malec_munro@development ?[01;34m~ $ ?[00m
The question marks are arrows pointing left.
Any help, or alternative suggestions would be very much appreciated.