You will get the complete rsync command. Copy that (right-click -> Mark. Then highlight the command, and press Enter). You can paste it to a text editor and make sure it's on a single line (no line breaks).

Paste it back to the command line, and press Enter. You should get a message that the RSA isn't recognized, or something like that. Choose 'Yes'.

You will be asked for your password (to access the server via SSH). Enter your password, and rsync should start up.

If I lost you in any of the steps, please say so, and I'll add some extra info in there.

I hope your problem and solution are the same as mine, so my experience can be of benefit to you.

Has anyone managed to get to the bottom of this problem? I'm having exactly the same problem as described here (PHP 5.2.4, cwRsync). Orkestra's workaround by editing the pakeFunction class does work but is a little clumsy... hopefully this is something that can be remedied in symfony?

The rsync files offered in the Wiki are useful, but they are not part of the solution to this problem - the problem occurs *after* installation of rsync, and is to do with how symfony invokes rsync.

The rsync command generated by symfony is fine (using Orkestra's workaround and copying and pasting it back to the command prompt proves this), the problem is with how symfony and rysnc co-operate.

I can't see without some more research what the problem is, though it seems like it is something such as the prompts from rsync (for password, etc) required by ssh that are not being bubbled up to symfony's pake command so they can responded to by the user. This is just a guess though.

Once you can use PuTTY to connect to your server using your public key (without a password), then you are ready to make the following change to {myproject}/config/properties.ini

Under the "[production]" key, change "port=22" to "port=22 -i c:\path\to\your\key.ossh". (If you only have a .ppk file, you can convert it to a .ossh file using "puttygen.exe" [MenuBar > Conversions > Export OpenSSH Key]). Also, the key you are using shouldn't have a passphrase so that everything happens without additional user interaction.

The very first time that you ever connect to a host via SSH, it will look up the host in the "known_host" file. This is a security measure done by SSH to prevent you from accidentally connecting to a new server.

If this is the first time you have connected to that server from the command line, the task will get hung up waiting for input.

Try this:

In the Windows command windows, type...

ssh YOUR-DOMAIN-NAME.COM

The first time you will see:

The authenticity of host 'YOUR-DOMAIN_NAME.COM (12.34.56.78)' can't be establish
ed.
RSA key fingerprint is 11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF.
Are you sure you want to continue connecting (yes/no)?

Type 'yes' and press ENTER, then it will ask you for a password.

Now when you run the symfony project:deploy command again, it won't ask that question and everything should work. This assumes that you have used the public-key sign in method previously mentioned.

Ugh I have been having such trouble with rsync but i definitely need it for my site. I remember using it before and it worked to some extent but it gave me serious permission errors on my remote host. I realized that I probably entered the wrong directory name so I fixed that up today and found that it hung. I used the fix described above (thanks for the help) and I now get this error. Is this a problem with rsync or the path to the remote server? Has anyone has an error like this before?

Then, execute your "project:deploy" command. After you see what is being executed, then you can try to narrow down the problem. You might be missing a space, or maybe you need to "quote the path with spaces". It should be more obvious once you see what is being executed by the shell.

Thanks for the help robh, unfortunately, I had no luck finding that file in symfony 1.0.17. I searched under both the PEAR and data directories and did a search of my wamp directory. Do you know anywhere else it could be or a similar file for symfony 1.0?