atmos:software:scp:home
scp Copy files between computers
scp is a command used to copy files between to systems. in this wiki we will cover using it to transfer from a computer being accessed through ssh.
Instructions
- 1.connect to target computer through ssh. (userid@lightning.atmos.und.edu)
- 2. Navigate to the directory with the file you want to copy.
- 3. the command is as follows: scp fileName : targetcomputerName:/home/example
- -replace fileName with the name of the file you want to copy replace targetComputerName with the name of the computer to transfer to and then after the : list the directory on where you want it to be copied to.
- 4. it will prompt for password on computer being copied to
- 5. Once password is input terminal will show progress on your transfers.
Notes
If you want to copy every file in your current directory change the commmand “scp” to “scp -r” and then replace your “fileName” with “*”.
atmos/software/scp/home.txt · Last modified: 2020/01/29 17:25 by 127.0.0.1