November 2013
Beginner
900 pages
56h 6m
English
The most basic use of the scp command is to copy a file from your current machine to a remote machine. You can do that with the following command:
matthew@seymour:~$ scp test.txt 192.168.1.102:
The first parameter is the name of the file you want to send, and the second is the server to which you want to send it. Note that there is a colon (:) at the end of the IP address. This is where you can specify an exact location for the file to be copied. If you have nothing after the colon, as in the previous example, scp copies the file to your /home directory. As with SSH, scp prompts you for your password before copying takes place.
You can rewrite the previous command ...
Read now
Unlock full access