Quick Overview and example:
# scp filetocopy userid@ipaddress:/folder/folder
In the example above, that last part is usually something like:
/home/username/
Also, don’t forget that colon : there in between the ipaddress and the first slash….
To copy one file from one machine to another, do this:
- Log into the machine that has the file on it.
- Go to the folder where the file is at.
- use the scp command like the example above.
- The scp command will prompt for a password if it is working correctly.
- Type in your password, and you should see a progress bar indicating that it is working.