Compare the Difference Between Similar Terms

Difference Between

Home / Technology / IT / Protocols / Difference Between SFTP and SCP

Difference Between SFTP and SCP

July 16, 2011 Posted by Indika

SFTP vs SCP

SCP (Secure Copy) is based on the Secure Shell (SSH) protocol and it provides the capabilities to transfer files securely between hosts. SFTP (Secure File Transfer Protocol) is a protocol used for transferring files over a secure channel. It was developed as an extension of the Secure Shell protocol (SSH) by the Internet Engineering Task Force (IETF). SFTP assumes that the channel used for communication is secure and that the client is authenticated by the server and the information about the client is available for the use of the protocol.

What is SFTP?

SFTP is a protocol used for transferring files over a secure channel. SFTP is based on the client-server architecture. A widely known SFTP server is OpenSSH, and SFTP clients are implemented as command line programs (as provided with OpenSSH) or GUI applications. SFTP provides encryption for both data and commands that are transferred providing safety for sensitive information such as passwords. SFTP is not only a protocol for accessing and transferring files, it is actually a file system protocol.

What is SCP?

SCP protocol provides a secure method to transfer files between hosts. Simply, SCP can be considered as an integration of RCP (‘remote copy’ command on UNIX) and SSH. Encryption and authentication in SCP is provided using the SSH protocol, while BSD (Berkeley Software Distribution, sometimes called Berkeley Unix) RCP provides the foundation for the actual file transfer. SCP runs on port 22. SCP prevents third parties from intercepting file transmission and looking at the content of data packets. When a client uploads a file to the server, it is given the option to include properties such as a timestamp, permissions, etc. This capability is not provided in the commonly used FTP (File Transfer Protocol) protocol. When a client needs to download a file/ directory, it first sends the request to the server. Downloading is a server driven process, where the files are fed by the server to the client. This server driven mechanism can cause a risk in security especially if the server is malicious.

What is the difference between SFTP and SCP?

Even though both SFTP and SCP provide a secure mechanism for transferring files, they have some differences. SCP is a simple protocol that only allows transferring files, whereas SFTP provides a broad set of operations for managing remote files. Furthermore, when comparing a SFTP client with a SCP client, SFTP client possesses additional abilities such as removing files remotely, resuming transfers that are interrupted, etc. In addition, SFTP is more platform independent when compared with SCP. SFTP servers are available in several platforms, while SCP mostly uses Unix platforms. When comparing the speeds, SFTP is slower than SCP, since it requires waiting for encrypting and conformation of packets. SFTP provides support for files over 4GB, while SCP does not. SFTP provides the ability to cancel a file transfer without terminating the session, whereas with SCP, the session needs to be cancelled for cancelling a transfer. Furthermore, resuming a transfer is supported with SFTP, while SCP does not support that.

Related posts:

Difference Between FTP and SFTP Difference Between SNMP v2 and v3 Difference Between IPv4 and IPv6 Protocols Difference Between HDLC and SDLC Difference Between Unicasting and Multicasting

Filed Under: Protocols Tagged With: Berkeley Unix, BSD, file system protocol, FTP, IETF, OpenSSH, RCP, SCP, SCP client, SCP protocol, Secure Copy, Secure File Transfer Protocol, Secure Shell, Secure Shell protocol, SFTP client, SFTP protocol, SSH, SSH protocol

About the Author: Indika

Indika, BSc.Eng, MSECE Computer Engineering, PhD. Computer Science, is an Assistant Professor and has research interests in the areas of Bioinformatics, Computational Biology, and Biomedical Natural Language Processing.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Request Article

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and SARS

Difference Between Coronavirus and SARS

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

You May Like

Difference Between iPhone 4S 16GB and 32GB and 64GB

Difference Between Protein Kinase A and Protein Kinase C

Difference Between Protein Kinase A and Protein Kinase C

Difference Between Exclusive and Inclusive

Difference Between Exclusive and Inclusive

Difference Between Genome and Exome

Difference Between Genome and Exome

Difference Between Irish and Gaelic

Difference Between Irish and Gaelic

Latest Posts

  • What is the Difference Between Omphalocele and Gastroschisis
  • What is the Difference Between Autonomic and Somatic Reflexes
  • What is the Difference Between Plagiocephaly and Craniosynostosis
  • What is the Difference Between Coconut Oil and Virgin Coconut Oil
  • What is the Difference Between Wintrobe and Westergren Tube
  • What is the Difference Between Coarctation and Hypoplastic Aortic Arch
  • Home
  • Vacancies
  • About
  • Request Article
  • Contact Us

Copyright © 2010-2018 Difference Between. All rights reserved. Terms of Use and Privacy Policy: Legal.