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

I'm trying to push a file from my local windows machine to an amazon server into the folder /var/www

rsync  -e 'ssh -i /cygdrive/d/myaws.pem' /cygdrive/d/web/my_site.jpa ubuntu@176.69.69.9/var/www

Unsuccessful with this error

rsync: change_dir#3 "/home/mark//ubuntu@176.34.50.7/var" failed: No such file or directory (2)

share|improve this question
    
What happens when you do "ssh -i /cygdrive/d/myaws.pem ubuntu@176.69.69.9"? Do you have some sort of startup script that may be involved with the other IP shown in the error? –  cjc Mar 4 '12 at 14:16
add comment

1 Answer

up vote 2 down vote accepted

You are missing a colon here:

ubuntu@176.69.69.9/var/www

should be

ubuntu@176.69.69.9:/var/www
share|improve this answer
add comment

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.