welaika/wordmove — pull request #4 by xrd (2011-12-22 17:37:49+00:00)
Title: Custom SSH port and password-less auth for wordmove

Hi there,

I believe I have added changes which allow you to use wordmove with an SSH server that uses custom ports and also allows you to use password-less authentication using SSH private/public keys.

For SSH port, I think this required a manual retrieval of the SSH port option and specification into Net::SSH, and I made those changes. It also requires a special option to rsync, which I added.

For password-less authentication I believe it requires removing the password file from rsync when password is missing from the Wordmove file.

I added specs to test all of this.

When I add the specs to an unchanged wordmove repository, the two specs for using "with passwords" and "without ports" fail. With my changes the specs for testing "without passwords" and "with ports" pass.

In other words, the behavior with existing Wordmove configuration files should be identical to the old behavior with these changes.

Chris