Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.
scp2 (Secure Copy 2) is used to securely copy files over the network. The program uses the Secure Shell version 2 protocol for data transfer, and uses the same authentication and provides the same security as ssh2. scp2 will ask for passwords or passphrases if they are needed for authentication.
Any file name may contain a host, user and port specification to indicate that the file is to be copied to or from that host. Copies between two remote hosts are permitted.
scp2 uses the same host keys and user keys as the graphical client. The default location for these files is the directory used to store the user profile. The -k switch can be used to override the default location. Certificate authentication can be used in some configurations with scp2, but scp2 exists for scripting purposes and certificate usage is not recommended.
On Windows, scp2.exe launches ssh2.exe as a transport. Therefore the configuration and authentication features of ssh2.exe can be used in scp2.exe as well.
Also note that scp2 offers no fallback to the Secure Shell version 1 protocol.