copy directory to remote server ssh code example
Example 1: ssh copy folder from local to remote
scp -ra /path/to/local/storage [email protected]:/path/to/copy
Example 2: ssh copy folder from local to remote
scp username@hostname:/path/of/remote/server/filename /path/to/local/destination/folder