Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rsync_project to a different ssh port #44
When not using the standard port 22 rsync_project failes to detect the port setting used in the env.hosts variable (example.com:443).
Originally submitted by Anonymous () on 2009-08-05 at 11:35am EDT
Closed as Done on 2009-12-13 at 03:51pm EST
Morgan Goose (goosemo) posted:
I think this can be solved by changing how the rsync command is formulated. Right now if you had:
you'd get an rsync command like this:
The second option though requires there to be an rsync daemon running on the server, and looking at the ticket it seems that the implied use is to use the ssh connection just on a non-standard port.
So I've made an addition to the rsh flag patch where the rsh commands are now in their own string that is fed into the rsync command string. I've yet to test it only because I have to setup something to recieve on a non-standard port. Once I do that I'll submit a pull request.
The change to the rsync_project additions would be:
on 2009-09-18 at 11:03pm EDT