Secure file transfers to and from local or remote systems can be initiated with the SCP UNIX command.
To use the scp command to copy files between systems, use the following command:
scp filename1 userid@hostname:filename2
where filename1 is the file on the local system that you wish to copy, userid@hostname is the userid and hostname where you wish to copy it, and filename2 is the name you want to call the file on the remote system. For example:
scp myfile jdoe@terpconnect.umd.edu:myfile5
Note: scp may also be used to copy files from a remote system to a local system. To do this in the first example above, reverse the order of filename1 and userid@hostname:filename2.