Cómo copiar directorio a un servidor SSH

# 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
thegreenarmadillo