Enhanced version with ssh-identity, exclude-from, rsync stats and better cleanup of temporary output
Fix quoting for using sudo