Transfer files between Linux SCP

Source: Internet
Author: User
Tags scp file

Scp

SCP uses SSH to transfer data using the same authentication method, so after SSH is configured, read and write remote files according to user name and password. The basic command is as follows, after the command, enter the password for the remote user:

Copy from native to remote:

File: SCP file [email protected]:remotedirectory

Catalog: scp-r directory [email protected]:remotedirectory

From remote to native:

File: SCP [email Protected]:remotefile localdirectory

Catalog: scp-r [email protected]:remotedirectory localdirectory

RCP is an unencrypted version of SCP and you can set encryption in the options.

Rsync, as a sync tool, can also transfer files between hosts, powerful

Wget Curl FTP is like downloading files only.

Transfer files between Linux SCP

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.