gavinhewitt
4/11/2011 - 10:06 AM

Using rsync to sync files to an Amazon EC2 instance using SSH key

Using rsync to sync files to an Amazon EC2 instance using SSH key

rsync -avz /path/to/local/sync/folder -e "ssh -i /path/to/ssh/key" ubuntu@ec2instance:/path/to/remote/sync/folder