SCP File Transfer

Secure copy Unix/Linux

The SCP program is a secure version of the RCP ("Remote Copy") command. The command can be thought of as working like a standard Unix cp command, with the additional feature that a username and hostname are part of the file specification. The SCP command automatically prompts the user for the necessary password information when it is time to access a remote machine.
A typical SCP command can copy a remote file to the local machine:

scp user@remote_machine:File File

copy a local file to the remote machine:

scp file user@remote_machine:file

copy file from a remote machine to another remote machine:

scp user@remote_machine1:file user@remote_machine2:file

No comments:

Recent Posts