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

    About This Document>>
    Installing SSH Tectia Client>>
    Configuring SSH Tectia Client >>
    Connecting >>
    Terminal Window >>
    File Transfer Window >>
    Toolbar Reference >>
    Menu Reference >>
    Troubleshooting >>
    Command-Line Tools >>
        SSH2
        SCP2 >>
            File Name Support
            SCP2 Syntax
            SCP2 Return Values
        SFTP2 >>
        ssh-keygen2
        ssh-cmpclient >>
        Certificate Viewer >>

SCP2 Syntax

The Windows command-line version of SCP2 does not have its own configure file, but scp2.exe launches ssh2.exe underneath to provide a secure transport. The ssh2.exe program reads its configuration from the ssh2_config configuration file.

The following command line parameters can be used to further specify the SCP2 options:

SYNOPSIS

scp2 [options]
     [[user@]host[#port]:]file ...
     [[user@]host[#port]:]file_or_directory

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 timestamps.
-u                   Remove source files after copying.
-B                   Sets batch-mode on.
--interactive
-I                   Prompt whether to overwrite an existing
                     destination file. (doesn't work with `-B')
--overwrite[=no]     Whether to overwrite existing destination file(s)
                     (default: yes).
-r                   Recurse subdirectories.
-a[arg]              Transfer files in ascii mode. See manual page
                     for description of optional argument.
--verbose
-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.
-S ssh2-path         Tell scp2 where to find ssh2.
-P ssh2-port         Tell scp2 which port sshd2 listens on the remote machine.
-b buffer-size       Define maximum buffer size for one request
                     (default 32768 bytes).
-N max_requests      Define maximum number of concurrent requests
                     (default 10).
-m fileperm[:dirperm] 
                     Set the default file/dir permission bits for upload.
-o ssh2-opt          Specify additional options for ssh2.
                     Format is -o"ConfigKeyword=value".
-k dir               Custom configuration dir where ssh2_config,
                     hostkeys and userkeys are located.
--version
-V                   Display version.
--help
-h                   Display this help.

Previous Next Up [Contents] [Index]


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

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