Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to backup my linux webserver to our local windows sbs 2003 server in the office. I have set up ssh and cwrsync on the windows server and have confirmed that the linux server can reach the windows server via the command:

ssh RemoteUser@xxx.xxx.xxx.xxx

It asks for a password and connects fine. However when I run this command to start the backup:

*rsync -avz -e ssh home/account/public_html/some/small/directory/ remote_user@xxx.xxx.xxx.xxx:/cygdrive/c/backup/destination/directory/*

I get this error after entering the password:

protocol version mismatch -- is your shell clean?

and then it dies.

Has anyone got any ideas?

Thanks

Alex

share|improve this question
    
Do you have same rsync versions on windows and Linux? –  rvs Feb 22 '11 at 20:37

1 Answer 1

Lots of answers to this question on google, a possible answer is at http://www.linuxquestions.org/questions/linux-networking-3/rsync-e-ssh-error-protocol-incompatibility-345101/ .

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.