next up previous contents
Next: ssh - Secure shell Up: Other Useful Commands Previous: ps - List processes   Contents

scp - Secure copy to copy files to/from a remote computer

Examples:-

scp myfile you@remote.machine.org:/home/yourdir

Copy the file called ``myfile'' from the current directory to the directory called ``home/yourdir'' belonging to the user ``you'' on the computer ``remote.machine.org''.

scp "you@remote.machine.org:/home/yourdir/*" ./

Copy all files from the directory called ``home/yourdir'' belonging to the user ``you'' on the computer ``remote.machine.org'' to the current directory. For further information see section 8.7.



P.D. Gronbech (IT Staff) 2015-10-02