Secure Copy

from Wikipedia, the free encyclopedia
SCP in the TCP / IP protocol stack :
application SCP
SSH
transport TCP
Internet IP ( IPv4 , IPv6 )
Network access Ethernet Token
bus
Token
ring
FDDI ...

Secure Copy (abbreviated to SCP ) is a protocol and a program for the encrypted transfer of data between two computers over a computer network .

protocol

The protocol itself only implements file transfer, SSH is used for login and connection and an SCP server is called on the remote computer; this is usually also the client program. An SSH server is required for the underlying SSH .

Demarcation

SCP serves the purpose of file transfer - such as Belly

File Transfer Protocol ( FTP )
With FTP, neither control data nor file transfers are secured.
Secure FTP / SSH File Transfer Protocol ( SFTP )
Secure FTP saves the control data via SSH, but not always the file transfer. SFTP is not an extension of FTP, but a separately specified protocol. SFTP extends SCP and provides additional file operations.
FTP over SSL ( FTPS )
FTP over SSL uses an SSL connection to secure all control data and file transfers and is supported by many FTP clients / servers.
SCP
SCP secures the control data and the file transfer via SSH. SFTP extends SCP and provides additional file operations.

The Secure Copy Protocol (SCP) is similar to the Remote Copy Protocol (RCP) . Unlike this, it is based on SSH and thus guarantees the confidentiality , integrity and authenticity of the transmitted data.

Programs

The most common client under Unix systems is the command line-based scp , a free implementation for Windows is pscp from the PuTTY program collection or WinSCP .

The syntax is similar to the Unix cp command :

Copy (move) a file from the host to a remote computer:

scp Quelldatei.bsp Benutzer@Host:Verzeichnis/Zieldatei.bsp

Copy (drag) a file from another computer to the host:

scp Benutzer@Host:Verzeichnis/Quelldatei.bsp Zieldatei.bsp

Since SCP can only be used for file transfer, clients with a graphical user interface are rare because they have to expand the functionality, for example with navigation and display in directory trees. An example of a graphical SCP client is the free software WinSCP . The well-known file manager Total Commander can also be made SCP-capable with a plug-in .

literature

  • Daniel J. Barrett: Linux - short & good The most important commands. 3. Edition. O'Reilly, Heidelberg 2017, ISBN 978-3-96009-034-2 .

Individual evidence

  1. a b Linux scp command. December 29, 2017, accessed August 17, 2018 .
  2. nixdoc. SCP. Retrieved August 17, 2018 .