Difference between revisions of "SCP"

From UMIACS
Jump to navigation Jump to search
Line 1: Line 1:
[[Secure Copy | SecureCopy]] (or [http://en.wikipedia.org/wiki/Secure_Shell SCP]) is a way of copying data between two computers using [[SSH]].
+
[[SecureCopy | Secure Copy]] (or [http://en.wikipedia.org/wiki/Secure_Shell SCP]) is a way of copying data between two computers using [[SSH]].
  
 
==Using SCP==
 
==Using SCP==

Revision as of 16:24, 5 June 2008

Secure Copy (or SCP) is a way of copying data between two computers using SSH.

Using SCP

The following commands work under RedHat Linux 3, 4, and 5, and Mac OS X.

This command, when run from a terminal, will copy the file "source_file.txt" from the local machine to a folder inside the user's OpenLab account and give it the name "target_file.txt".

wing:~ Ben$ scp source_file.txt bkirz@openlab.umiacs.umd.edu:Desktop/target_file.txt

This command, when run from a terminal, will copy the file "source_file.txt" from the user's OpenLab account into the current local directory and give it the name "target_file.txt".

wing:~ Ben$ scp bkirz@openlab.umiacs.umd.edu:Desktop/source_file.txt target_file.txt

On Windows XP or Vista hosts there are no SCP clients installed by default. Users can install PuTTY, which will enable SSH and SCP access.

Alternatively, all users can use the UMIACS Intranet SFTP Web Applet located here without installing any additional software.

Further Information

OpenSSH