rsync to Amazon AWS server using PEM file

One liner here:
rsync -rave --filter='merge public/.rsync-filter' "ssh -i /keypath/key.pem" $PWD/public/* ubuntu@55.55.55.55:/var/www/www.server.com/

Posted on March 24, 2015 at 14:19 by arte · Permalink
In: English, Linux

Leave a Reply