On 3/26/2010 6:07 AM, Sorin Srbu wrote: >> -----Original Message----- >> From: Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] >> Sent: Friday, March 26, 2010 9:56 AM >> To: 'General list for user discussion, questions and support' >> Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host >> >>> -----Original Message----- >>> From: Les Mikesell [mailto:lesmikes...@gmail.com] >>> Sent: Thursday, March 25, 2010 4:04 PM >>> To: backuppc-users@lists.sourceforge.net >>> Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host >>> >>> [...] >>> Are you confusing rsync and rsyncd? With rsync, you start the remote >>> rsync via ssh and it sees the whole remote filesystem from the >>> perspective of a remote user. You can test access from the backuppc >>> server with a command line like 'rsync -av u...@host:/path' If you >>> don't specify a destination, you should see a directory listing (and >>> current versions have an implied -essh argument). With rsyncd, the >>> program is run as a daemon/service and only the paths explicitly >>> mentioned in rsyncd.conf are exposed by their module names. You can >>> test this with a command like 'rsync -av host::module' (note double colon). > > An unexpected turn of events! I googled for a different ssh-server for Windows > that does not rely on Cygwin, and came up with something called MobaSSH. > MobaSSH does however rely on Cygwin anyway, but seems to be working properly > in my environment. In any case, I installed the Professional-demo, able to > install and run on a Win2k3 Server-machine (the free Home version only works > on non-Windows Server-machines). The service seems to be running properly so > far. > > * The rsync test works, I get a file list. See attached txt-file for output. > > * The passwordless login from my BPC-server also works. See attached txt-file > for output. > > * Added the Win-server to BPC as a host using rsync, but I get the dreaded > "Unable to read 4 bytes" error message. See attached txt-file for output. > > I thought the "Unable to read 4 bytes"-message was because the the > passwordless login wasn't setup properly, or not set up at all. What else > could it choke on and give this message? > > Any answers are appreciated!
When running over ssh it is important that nothing is sent before the rsync program starts up. Can you disable that login message? -- Les Mikesell lesmikes...@gmail.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/