0

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)

Moak
  • 734
  • 3
  • 10
  • 31
  • 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 04 '12 at 14:16

1 Answers1

2

You are missing a colon here:

ubuntu@176.69.69.9/var/www

should be

ubuntu@176.69.69.9:/var/www
devicenull
  • 5,622
  • 1
  • 26
  • 31