Securely copies one or more files to or from a remote computer
scp [[user@]from-host:]source-file [[user@]to-host:][destination-file]
The scp (secure copy) utility copies an ordinary or directory file from one computer to another on a network. This utility uses ssh to transfer files and the same authentication mechanism as ssh; therefore, it provides the same security. The scp utility asks you for a password when it is needed for security.
The from-host is the name of the machine you are copying files from, and to-host is the machine you are copying to. When you do not specify a host, scp assumes the local machine. The user on either host defaults to the user on the local machine who is giving the command; specify a different ...