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 >>
            SCP2 Syntax
            SCP2 Return Values
        SFTP2 >>
        SSH-keygen2
        Frequently Asked Questions >>

SCP2 Syntax

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

The following parameters can be used:

SYNOPSIS

  scp2 [-D debug_level] [-d] [-q] [-Q] [-p] [-u] [-r] [-a] [-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.
  -a                   transfer files in ASCII mode. 
  -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.

Previous Next Up [Contents] [Index]


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

Copyright © 2001 SSH Communications Security Corp
All rights reserved.
Copyright Notice