SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Cygwin sshd/rsync
Author Message
Post Cygwin sshd/rsync 
Does anyone have backuppc working with a windows
client running rsync under cygwin sshd? I can
get it to start up OK, but every version of rsync
that I've tried, including compiling 5.6 with and
without all the patches I could find, hangs up after
a minute or less of transferring files. If someone
has this working, are binaries available?

---
Les Mikesell
les < at > futuresource.com


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Cygwin sshd/rsync 
Does anyone have backuppc working with a windows
client running rsync under cygwin sshd? I can
get it to start up OK, but every version of rsync
that I've tried, including compiling 5.6 with and
without all the patches I could find, hangs up after
a minute or less of transferring files. If someone
has this working, are binaries available?

Les,

I have been using rsyncd successfully on cygwin for some time now.
I have not tried sshd on cygwin.

Please tell me how you setup sshd on cygwin and I can try it out.

Craig


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Cygwin sshd/rsync 
From: Craig Barratt [mailto:craig < at > atheros.com]

I have been using rsyncd successfully on cygwin for some time now.
I have not tried sshd on cygwin.

Please tell me how you setup sshd on cygwin and I can try it out.

Do a standard Cygwin install from their web link.
Repeat, expanding the net section and selecting openssh
and rsync.
As administrator, from a bash prompt run:
ssh-user-config
and
ssh-host-config
This will install sshd as a service but not start it. you
can start it with 'net start sshd' or the windows services GUI
and it will start automatically after reboots. At that point
you can pretend it is a unix box as far as remote ssh access
to bash commands goes. The only visible difference is that
the drives are mounted as /cygdrive/c, etc., although it appears
that rsync will also accept host:c: as a source. The problem seems
to be a timing or networking issue with rsync using stdout and
ssh managing the transfer. I'm using this mode with some remote
Linux servers with ssh handling the network compression and it
works great (except when the windows tests hang up and back up
the nightly cleanup...). I'd really like to do windows boxes
the same way - and get the ability to run the pre/post commands
as a side effect of using ssh access.

(off topic)
By the way - when you are downloading the Cygwin stuff you might
want to look at their X server if you haven't recently. It now
has a -multiwindow mode that lets you mix X and MS windows on
the same desktop.

--
Les Mikesell
les < at > futuresource.com

Post Cygwin sshd/rsync 
Does anyone have backuppc working with a windows
client running rsync under cygwin sshd? I can
get it to start up OK, but every version of rsync
that I've tried, including compiling 5.6 with and
without all the patches I could find, hangs up after
a minute or less of transferring files. If someone
has this working, are binaries available?

I'm seeing the same behavior. I have configured ssh under cygwin
(thanks for the setup notes) and after a short while it hangs.

I also notice that if I run a vanilla rsync command (no BackupPC),
it also hangs when the target machine is running rsync/ssh/cygwin,
eg:

rsync -a -e ssh -vv MyWinXPHost:/home/craig/perl .

So this looks like a rsync/ssh problem on cygwin. Can you verify
that running a vanill rsync command hangs?

I need to follow up about this on the rsync mail list.

In the meantime, I find that rsyncd (rsync --daemon) on cygwin is
reliable.

Craig


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Cygwin sshd/rsync 
From: "Craig Barratt" <craig < at > atheros.com>

I'm seeing the same behavior. I have configured ssh under cygwin
(thanks for the setup notes) and after a short while it hangs.

I also notice that if I run a vanilla rsync command (no BackupPC),
it also hangs when the target machine is running rsync/ssh/cygwin,
eg:

rsync -a -e ssh -vv MyWinXPHost:/home/craig/perl .

So this looks like a rsync/ssh problem on cygwin. Can you verify
that running a vanill rsync command hangs?

Yes, it hangs for me on large transfers regardless of the versions
I've tried so far and whether on not backuppc is involved.

I need to follow up about this on the rsync mail list.

I mentioned a different issue in an earlier email: rsync seems to
deliver nulls instead of the actual content of locked sections of
a file. It would be nice to get some kind of error notification in
this circumstance.

In the meantime, I find that rsyncd (rsync --daemon) on cygwin is
reliable.

Thanks - I was hoping to get ssh compression on the WAN connections
but maybe it can be arranged with port forwarding instead of running
rsync directly.

---
Les Mikesell
lesmikesell < at > attbi.com

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB