Pragma SCP Client

scp.exe

SCP is a secure copy of files using the ssh server as a gateway to encrypt the files. The files are copied through a Fortress SSH session launched by the scp client. The scp client launches a ssh session to the server, which launches the scp server. A machine must have the scp client, plus the ssh client to initiate a secure copy. The remote machine must have a scp client, plus a ssh daemon to respond to a scp request. The destination file will retain the file attributes of the source file. The copy can be configured to retain the source file date or use the copy timestamp.

The same scp program is used by both the client and server, therefor Pragma's scp is installed with both our ssh daemon and client

The syntax to copy files using scp is:

scp user@source:drive:\directory\file user@destination:drive\directory\file

The local username and machine are not required. For example, to copy the file foo.txt located in the temp directory on drive d: to the remote machine temp directory on drive c, use

scp d:\temp\foo.txt username@remote_machine:c:\temp\foo.txt

The reverse can be used, if you are copying from the remote machine.

scp username@remote_machine:c:\temp\foo.txt d:\temp\foo.txt

The scp client accepts the following command line options, which are displayed if you enter scp without options on the command line.

p

preserve the original file date

r

recursively copy all files in the directory and all subdirectories

v

verbose mode - display debug information

C compression level

What compression level should be used. This is the same as the -C option for the ssh client

o ssh-options

Options that should be passed to the ssh client

P

server side port number

c cipher

Cipher algorithm to use. This is the same as the -c option for the ssh client.

a

Turn on statistics display for each file

A

Turn off statistics display for each file

q

Turn off statistics display.

Q

Turn on statistics display.

i identity

Use the user identity instead of the interactive user. This is the same as the -i option for the ssh client.
Will be implemented in a later release.