bug #2096: Preserve remotes permissions. Adds -p flag to scp as suggested by Steffen Neumann