HELPLIB.HLB  —  SCP
    The SCP command securely copies files between a Secure Shell
    client and server.

1  –  Syntax

    SCP [options] source-name destination-name

2  –  Parameters

    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.

3  –  Options

    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

4  –  Examples

    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
Close Help