VMS Help
SCP
*Conan The Librarian
|
The SCP command securely copies files between a Secure Shell
client and server.
SCP [options] source-name destination-name
Parameter Definition
source-name Specifies the name of the file to be copied.
destination-name Specifies the location and file name for the
copied file.
The SCP command allows many options, some of which are not
supported on OpenVMS. For a complete list of options, enter the
following command:
$ SCP -h
o The following example shows how to copy the file FILE.TXT from
the local system to a remote system named VMSHOST and into the
directory [MYDIR]:
$ SCP FILE.TXT KATHY@VMSHOST:DSK0:[MYDIR]
o The following example shows how to copy the file FILE.TXT from
a remote system (VMSHOST) to the local system, renaming it to
LOCAL_FILE.TXT:
$ SCP KATHY@VMSHOST:DSK0:[MYDIR]FILE.TXT LOCAL_FILE.TXT