This is the message that i get...it just hangs now and doesn't ask me for a password or shows any files being moved. I don't think the problem is an incorrect path in my hostname as I was definitely putting in incorrect path names in the past and it was going through (albeit generating permission errors). Does anything look wrong here. I can snapshoot the CLI if it is hard to get a sense of a spacing error based on this cut and paste.

Thanks so much, that was spot on. It did ask me for my password and I was able to login through CLI. However, I am having a bit of a problem setting up the public_key. I had two theories why things might not be working and I was curious to hear your thoughts.
1.) My .ssh folder is not stored in the right location. When i enter my host, I see two domains. There is only one .ssh folder and it is in one of the domains with the file authorized_keys. The folder is at the same level as the web root and my project and is technically /home/domains/site.com/.ssh. Should I try and move the folder to /home/.ssh/ or is that not the problem.
2.) Since I have a custom port for ssh should I be entering that or should I use port 22. There are two times when I have to specify port (the first in the putty settings and the second in properties.ini). I tried both 8888 and 22 and couldn't get it to work but I thought I might have missed something.

I wish there was a way to test whether I can login with the public key. Unfortunately, when I try and follow the directions laid out in the tutorial you posted I get the message local to local copy not supported. I googled that and it didn't become much clearer. Any idea what I could be doing wrong?

Your ".ssh" folder should be in YOUR home directory. Whenever you normally log into your account with PuTTY (using a password), your home directory will be the present working directory. Type 'pwd' to see what that is.

Right after you log in (using a password), if you type "ls -a" you should see ".ssh" as a directory. You most likely don't even have access to put a directory at "/home/.ssh".

2) If you have a custom ssh port, then you will need to specify this everywhere. You previous command line showed that "-p8888" command in the correct location.

Thanks SO much for the help thus far...I feel like I am close to getting this sync set up and I know it will be worth the trouble because it seems so helpful. Just wanted to thank you for giving me advice.

So I put the .ssh folder in the home directory as you indicated and added authorized_keys to it. I followed the instructions from the link word for word. The only change that I did make was that I copied and pasted the key manually into the authorized_keys file rather than by command line.

The step that I am a bit confused about is at the end. In my Command Prompt I type (I assume I don't have to cd to any folder to do this) >"path/to/pscp.exe" source.f "path/to/key.ppk" source.f username@rome.medialayer.net:

When I do that, I get an error saying that source.f is not a file or directory. If I try other commands like
>"path/to/pscp.exe" -l "path/to/key.ppk" source.f username@rome.medialayer.net:
I get a printout of various comamnds you can do but it remains unclear how I can connect to the remote host.

When I use the command line to try to connect via symfony it still hangs unfortunately. Sorry to make you go through such a hassle and I really appreciate the help

So I solved my symfony prolem. It turns out that symfony 1.0.17 has the issue where you need to cut and paste the command. I added die("cmd = $cmd\n"); at the end of the sfPakeEnvironment file and got the command, entered it, and it worked. This method was the same used by some poster up top and for the life of me I can't understand why it worked then but not now. But I'm glad I got it solved, I really like the speed of rsync it reminds me a ton of Git which i use and love.

Quick problem, though, I am getting a 404 error when I browse to my page after deploying with rsync. I thought it might be because I was overwriting my symfony folders and hadn't frozen beforehand but I tried again on another app and this time put lib/symfony and data/symfony in my exclude_rsync file and got the same result. Its not a clear cache error either becuase I checked that. Anyone have any idea what happened? Thanks guys

Awesome thanks so much for the help. It was a fix permission error and I am glad to get that squared away. I haven't yet experimented with the code to put into the properties.ini but our of curiosity what does that tell the remote host to do? To keep the file permissions of the existing files?

Awesome Robh thanks for making that clear. I really appreciate the help and I am sure a lot of people have the same trouble with rsync so hopefully this helps them as well. Thanks so much once again, its sooo nice to never have to remember which files to FTP again.

I noticed a few issues with rsync that I couldn't find answers to in the forum.

1.) I want rsync to ignore the config folder but not the apps/frontend/config folder. In my rsync_exclude file I simply put config, following the protocol in some of the tutorials I saw online. However, this tells the server to ignore any folder called config
2.) Unfortunately the parameters inside the properties folder didn't stop me from getting permission problems. It is not the end of the world and certainly beats FTPing but if Robh or anyone else had any other solutions that would be much appreciated.

After I use 'symfony sync production go' from the dev environment, I run the script via ssh with './fix-prod-perms' or such.

It's not pretty, but it does the job. Given most changes to production sites require a call to clear the cache (symfony cc), I'd always find myself running *some* kind of server-side command, and this just bundles them all - including optional sfLucene calls if something has changed in the index.

Someone might find ways to optimise this shell script - I've never looked to improve it since I wrote it in a hurry 2 years ago!