This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

SCP

From Gentoo Wiki (test)
Jump to:navigation Jump to:search

Not to be confused with SCAP.

Resources

SCP (Secure Copy Program) is an interactive file transfer program, similar to the copy command, that copies files over an encrypted SSH transport. It uses many features of SSH, such as public key authentication and compression.[1]

Installation

On the majority of Gentoo mediums scp should be installed as part of the default system profile. To verify installation run the scp command. A usage statement should appear:

user $scp
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2

If no usage statement is displayed then scp is not installed or has been corrupted. Follow the installation instructions beginning at Emerge section in the SSH article to install SCP.

Configuration

For configuration see the configuration section in the SSH article.

See also

  • SFTP - Secure File Transfer Protocol client that comes with the SSH suite.
  • SSHFS - A FUSE based SSH powered mount client.
  • SSH - An encrypted terminal program.
  • CurlFtpFS - Allows the mounting of a FTP folder as a regular directory to the local directory tree.

External resources

  • The SCP man page locally (man scp) or online at openbsd.org

References