Your browser does not allow storing cookies. We recommend enabling them.

SSH Tectia 
PreviousNextUp[Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server >>
    Getting Started >>
        Location of Installed Files >>
        Starting and Stopping the Server >>
        Operation of the Server >>
        SSH Tectia Server (T) >>
        SSH Tectia Server (A) >>
        SSH Tectia Client >>
            Using the Client (ssh2)
            Using Secure Copy (scp2)
            Using Secure File Transfer (sftp2)
            Using Authentication Agent (ssh-agent2, ssh-add2)
        Examples of Use
    Configuration >>
    Authentication >>
    Application Tunneling >>
    Troubleshooting >>
    Man Pages
    Advanced Options >>
    Log Messages >>

Using Secure Copy (scp2)

scp2 is a program for copying files securely over the network. It uses ssh2 for data transfer and authentication and provides the same security as ssh2.

scp2 uses SFTP2 over Secure Shell v2 for data exchange between the client and server. This is not to be confused with FTP.

The basic syntax for scp2 is:

scp user@source:/directory/file user@destination:/directory/file

Note: As shown in the example above, in the normal case, you do not have to type scp2. The installation process creates a symbolic link, scp, that points to the actual scp2 executable. If Secure Shell 1.x was installed before SSH Tectia, you will need to type scp1 to run the Secure Shell 1.x secure copy command.

The scp2 command-line options are documented in detail on the scp2 man page.

scp2 can be used to copy files in either direction; from the local system to the remote system or vice versa. Local paths can be specified without the user@system: prefix. Relative paths can also be used, they are interpreted in relation to the user's home directory.

PreviousNextUp[Contents] [Index]

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

Copyright © 2010 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice




What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.

    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH

    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now