-r# transfer directory-v# see the transfer details-C# copy files with compression-l800# limit bandwith with 800-p# preserving the original attributes of the copied files-P# connection port-q# hidden the output
Commands
$scpfileuser@host:/path/to/file# copying a file to the remote system using scp command$scpuser@host:/path/to/file/local/path/to/file# copying a file from the remote system using scp command
$scpfile1file2user@host:/path/to/directory# copying multiple files using scp command$scp-r/path/to/directoryuser@host:/path/to/directory# Copying an entire directory with scp command