Follow this tutorial for making keys in windoz: http://www.howtoforge.com/ssh_key_based_logins_putty Download plink and copy files to tmp directory plink saved_session_in_putty cp -r /var/svn/repo/ /tmp/directory Download pscp and scp files to your local machine pscp -i private_key.ppk -r username@remoteserver:/remote/file/location c:\local_file_location Then use plink to cleanup remote tmp directory plink railsstage rm -rf /tmp/directory