Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
2 user(s) are online (2 user(s) are browsing encyclopedia)

Members: 0
Guests: 2

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Secure copy

Secure Copy or SCP is a means of securely transferring computer files between a local and a remote server or between two remote hosts, using the Secure Shell (SSH) protocol.

The term SCP can refer to one of two related things, the SCP protocol or the SCP program.

=SCP protocol=

The SCP protocol is basically identical to the BSD Rcp protocol. Unlike rcp, Data is encrypted during transfer, to avoid potential packet sniffers extracting usable information from the data packets. However the protocol itself does not provide authentication and security; it expects the underlying protocol, Secure shell, to secure this.

The SCP protocol implements file transfers only. It does so by connecting to the host using SSH and there executes an SCP server (scp). The SCP server program is typically the very same program as the SCP client.

For upload, the client feeds the server with files to be uploaded, optionally including their basic attributes (permissions, timestamps). For downloads, the client sends a request for files or directories to be downloaded. When downloading a directory, the server feeds the client with its subdirectories and files. Thus the download is server-driven, which imposes a security risk, when connected to a malicious server.

For most applications, the SCP protocol is superseded by more the comprehensive SSH file transfer protocol protocol, which is also based on Secure shell.

=SCP program=

The SCP program is a client implementing the SCP protocol, i.e. it is a program to perform secure copying.

The most widely used SCP client is the command line scp program, that is provided in most SSH implementations. The scp program is the secure analog of the rcp command. The scp program must be part of all SSH servers that want to provide SCP service, as scp function as SCP server too.

Some SSH implementations provide the scp2 program, which uses the SSH file transfer protocol protocol instead of SCP, but provides the very same command line interface as scp. scp is then typically a symbolic link to scp2.

Typically, a syntax of scp program is like the syntax of Cp (Unix): scp fileToCopy user @ host : directory / file scp user @ host : folder / fileToCopy file

As the SCP protocol implements file transfers only, GUI SCP clients are rare, as implementing it requires additional functionality (directory listing at least). GUI SCP clients, like WinSCP, are typically not pure SCP clients, as they must use other means to implement the additional functionality (like the ls command). This in turn brings platform-dependency problems. Thus it may not be possible to work with a particular SCP server using a GUI SCP client, even if you are able to work with the same server using a traditional command line client.

More comprehensive tools for managing files over SSH are SSH file transfer protocol clients.

=See also=

*Secure shell, SSH file transfer protocol *Rsh, Rcp *Telnet, FTP

=Implementations=

== Servers ==

  • OpenSSH
  • == Clients ==

  • PuTTY PSCP (command-line)
  • OpenSSH (command-line)
  • WinSCP (GUI)
  • [http://www.privateshell.com Private Shell] (GUI, command line)
  • fish:// KIO for Konqueror and KDE (GUI)