heimdal-rcp man page
rcp — copy file to and from remote machines
|rcp|| [-45FKpxz] [-P |
|rcp|| [-45FKprxz] [-P |
rcp copies files between machines. Each file argument is either a remote file name of the form “rname@rhost:path” or a local file (containing no colon or with a slash before the first colon).
- -4, -5, -K, -F, -x, -z
- These options are passed on to rsh(1).
- This will pass the option -p
- Preserve file permissions.
- Copy source directories recursively.
rcp is implemented as a protocol on top of rsh(1), and thus requires a working rsh. If you intend to use Kerberos authentication, rsh needs to be Kerberos aware, else you may see more or less strange errors, such as "login incorrect", or "lost connection".
The rcp utility first appeared in 4.2BSD. This version is derived from 4.3BSD-Reno.