Linux small Knowledge translation-"SCP and sftp"

Source: Internet
Author: User
Tags scp command

This time I want to talk about "SCP and sftp".

Either SCP or SFTP is one of the functions of SSH. are used to transfer files using the SSH protocol.

Needless to say, the contents of the file, that is, the user information at the time of the login is SSH encrypted before transmission, so SCP and SFTP to achieve a secure file transfer.

SCP and CP commands are similar, and SFTP and FTP are used similarly. SCP and SFTP are common in that "encrypting files using SSH is not transmitted"

With clients such as "winscp" or "filezilla", you can also transfer files to and from Windows.

The difference between SCP and SFTP, first of all, is that the SCP uses the "SCP command",sftp is similar to how "ftp handles files.

Their differences are more than that, and "SCP is relatively simple, lightweight, and SFTP has more features."

In detail, although there are many differences, but the biggest difference between the 2 is the "sftp in the file transfer process, the connection can continue to transfer, but the SCP is not".

The interruption of file transmission due to various reasons is a frequently discussed topic, so this distinction (the difference here refers to the fact that SFTP can continue the breakpoint, the SCP is not) is considered the biggest difference.

When transferring files, consider using SCP or SFTP instead of FTP if you do not want the contents of the file to be known, which is better for security.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.