SSH Communications Security
Index
SSH Home page
Previous Next Up [Contents] [Index]

    Introduction >>
    Configuration >>
    Connecting >>
    Terminal Window >>
    File Transfer >>
    Toolbar Reference >>
    Menu Reference >>
    Advanced Information >>
    Troubleshooting >>
    Appendices >>
        SSH2
        SCP2
        SFTP2 >>
        SSH-keygen2
        Frequently Asked Questions >>

SCP2

SCP2.EXE is a Windows port of the UNIX Secure Copy 2 tool (scp2).

SCP2 is used to securely copy files over the network. The program uses the SSH2 protocol for data transfer, and uses the same authentication and provides the same security as SSH2. SCP2 will ask for passwords or passphrases if they are needed for authentication.

Any file name may contain a host, user and port specification to indicate that the file is to be copied to/from that host. Copies between two remote hosts are permitted.

SCP2 uses the same host keys and user keys as the graphical SSH Secure Shell Windows client. The default location for these files is the directory used to store the user profile. The -k switch can be used to override the default location.

Please note that SCP2 offers no fallback to the SSH1 protocol.

SYNOPSIS

  scp2 [-D debug_level] [-d] [-q] [-Q] [-p] [-u] [-r] [-v] [-c cipher]
  [-C] [-P ssh2-port] [-f fw-name] [-F fw-port] [-k dir] [-V] [-h]
  [[user@]host[#port]:]file ... [[user@]host[#port]:]file_or_dir


OPTIONS

  -D debug_level_spec  Set debug level. (Syntax is module=level)
  -d                   Force target to be a directory.
  -q                   Make scp quiet (only fatal errors are displayed).
  -Q                   Don't show progress indicator.
  -p                   Preserve file attributes and timestamps.
  -u                   Remove source files after copying.
  -r                   Recurse subdirectories.
  -v                   Verbose mode; equal to '-D 2'.
  -c cipher            Select encryption algorithm. Multiple -c options are
                       allowed and a single -c flag can have only one cipher.
  -C                   Sets compression on. Default is off.
  -P ssh2-port         sshd2 port.
  -f fw-name           Firewall name.
  -F fw-port           Firewall port.
  -k dir               Store host keys and read user keys from this dir
                       instead of the user profile dir.
  -V                   Display version.
  -h                   Display this help.

Switches added for the Windows version of SCP2 are -C, -f, -F and -k.

The Windows version of SCP2 does not read the ssh2_config file or any other configuration files. It receives all its parameters from the command line.

Previous Next Up [Contents] [Index]


[ Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2000 SSH Communications Security Corp
All rights reserved.