Simply enough, a tool like your normal (unix) `cp` command, or (Windows) `copy` command that copies files between systems in a secure encrypted manner.
The basic syntax:
- Unix: scp <path1> <path2>
- Windows: pscp <path1> <path2>
path1: File(s) to copy
*path2: Where to put them
Note: Both arguments are of the generic form:
<[[user@]host:]/dir/path>
Which is kind of confusing. Examples:
file.c
doc:~/src/project/file.c
doc.nuron.com:~/src/project/file.c
claw@doc.nuron.com:~/src/project/file.c
claw@doc.nuron.com:/home/claw/src/project/file.c
Example invocations of scp:
- Unix:
- Send file.c to remote system: scp file.c claw@tyan-gx:~src/prokect/
- Get file.c from remote system: scp claw@tyan-gx:~src/prokect/file.c .
- Send everything to remote system: scp * claw@tyan-gx:~src/prokect/
- Get everything from remote system: scp claw@tyan-gx:~src/prokect/* .
- Windows:
- Send file.c to remote system: pscp file.c claw@tyan-gx:~src/prokect/
- Get file.c from remote system: pscp claw@tyan-gx:~src/prokect/file.c .
- Send everything to remote system: pscp * claw@tyan-gx:~src/prokect/
- Get everything from remote system: pscp claw@tyan-gx:~src/prokect/* .
--
JcLawrence - 29 Sep 2000