How to transfer a file from local machine to Remote Server (Linux - SCP)

The scp command copies files to or from a remote Linux system. You will be prompted for your TCC password for authentication.

To copy files from the local system to a remote system:
scp file... user@host.domain:path
where:
file
File to be copied.
user
Your username on the remote system.
host.domain
The Internet address of the remote system, such as linux.nmt.edu.
path
The absolute path name to the destination on the remote system.

To copy files from a remote system to your local system:
scp user@host.domain:path ... dest
where dest is the path name on your local system where you want the files copied.

Examples:
scp ann beth clyde forsythe@linux.nmt.edu:/u/forsythe/tmp
scp 'forsythe@linux.nmt.edu:/u/forsythe/images/*.jpg' pictures/LaborDay


Source : http://infohost.nmt.edu/tcc/help/xfer/scp.html

No comments:

Post a Comment