# Copy from machine a to b scp -r /path/to/directory user@ipaddress:/path/to/destination # Copy from machine b to a scp -r user@ipaddress:/path/to/destination /path/to/directory
scp -r username@IP:/path/to/server/source/folder/ .