Summary of supported SCP2 options

The following table summarizes handling of server-side options on the command-line for OpenSSH SCP and PuTTY’s PSCP programs in select WS_FTP Server packages. Remaining options are not applicable for the server since they are handled on the client side.

Purpose

OpenSSH SCP Option

PuTTY SCP (PSCP.EXE)

Handling in WS_FTP Server Premium, Corporate, and Secure

Cipher for encryption of data transfer

-c cipher
Selects the cipher to use for encrypting the data transfer. This option is directly passed to ssh(1).

-load session
Loads settings from the saved session (configured using PuTTY.exe) This session can specify the encryption algorithm.

Supported

Private key file for authentication

-i identity file
Selects the file from which the identity (private key) for RSA authentication is read. this option is directly passed to ssh(1).

-i key
private key file (in .PPK format) for authentication

Supported

Preserve file attributes (modification times, access times, and modes) from the original file

-p

-p

Supported

Recursive copy of entire directories

-r

-r

Supported

Verbose mode

-v

-v

Not supported

Enable Compression

-C

-C

Supported

Port to which to connect to on the remote host

-P port
Note that this option is written with a capital P, because -p is reserved for preserving the times and modes of the file in rcp.

-P port

Supported

SCP version

-2
SCP2 support

-1
SCP1 support

-2
SCP2 support

-1
SCP1 support

Supports -2 only

Use of IPv4/IPv6

-4
Forces scp to use IPv4 addresses only.

-6
Forces scp to use IPv6 addresses only

-4
Forces scp to use IPv4 addresses only.

-6
Forces scp to use IPv6 addresses only

Supports -4 only

Server side wildcards

*
Match 0 or
more characters

?
Match a single character

-unsafe
Allows server side wildcards.

*
Match 0 or
more characters

?
Match a single character

Supports * and ?

Directory listing on remote server

Not available

-ls
For example, pscp -ls fred@example.com:dir1

Not supported.
An SCP server cannot implement this option because SCP protocol does not have a mechanism to list files within a directory. While PSCP supports the option (ls) to list files, it may not work with all servers.

References: