cs101:scpfromlinux
                Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cs101:scpfromlinux [2018/11/09 19:25] – created localadmin | cs101:scpfromlinux [2020/09/08 21:51] (current) – [What Is SCP?] localadmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== How to transfer files between Linux/Mac computers using the [[Command Line Interface]] (CLI) ====== | + | ====== How to transfer files between Linux/Mac computers using SCP from the Command Line ====== | 
| + | This information is provided for the [[https:// | ||
| + | |||
| + | ===== What Is SCP? ===== | ||
| + | |||
| + | In Linux, you can use the **Secure Copy Protocol** | ||
| + | |||
| + | ==== Basic Syntax | ||
| + | The most basic form of the command is: | ||
| + | |||
| + | scp [options] source_username@source_host: | ||
| + | |||
| + | The location of the source file is specified by source_username@source_host: | ||
| + | |||
| + | * Name of the account on the host computer (source_username) | ||
| + | * | ||
| + | * Name of the directory containing the source file (source_directory) | ||
| + | * | ||
| + | |||
| + | The location to which the source file will be copied is specified by destination_username@destination_host: | ||
| + | |||
| + | * Name of the account on the destination computer (destination_username) | ||
| + | * Hostname of the computer to which the source file will be copied (destination_host) | ||
| + | * Name of the directory to which the source file will be copied (destination_directory) | ||
| + | * Filename of the copy (destination_filename) | ||
| + | |||
| + | Options can include things like [-P //port//] if not connecting to the standard SSH port 22. | ||
| + | |||
| + | |||
| + | You can find more information on Ubuntu SCP in the [[http:// | ||
cs101/scpfromlinux.1541791540.txt.gz · Last modified:  by localadmin
                
                