scp - secure copy (remote file copy program)
To use the scp command to copy directories between systems, use the following command:
scp -r directory-name userid@hostname:directory-name2
To use the scp command to copy files between systems, use the following command:
scp file-name1 userid@host-name:file-name2 # scp -r ssl email@example.com:/root/ssl/ firstname.lastname@example.org's password: -p Preserves modification times, access times, and modes from the original file. -r Recursively copy entire directories. -v Verbose mode.