Scp implements file transfer between Mac and Linux servers

Source: Internet
Author: User
Tags scp file scp command scp command in linux

Scp implements file transfer between Mac and Linux servers

1. upload files to Linux server on mac

Scp file name username @ Server ip: target path
For example: scp/Users/test/testFile test@www.bkjia.com:/test/

2. Upload the folder to the Linux server on mac, which is more-r than uploading files.

Scp-r folder directory username @ Server ip: target path
For example: scp-r/Users/test/testFolder test@www.bkjia.com:/test/

3. download files from Linux server to mac

Scp username @ Server ip: target path of the file path
Such as: scp test@www.bkjia.com:/test/testFile/Users/test/

4. the Linux Server downloads the folder to mac, which is more-r than the downloaded file

Scp-r username @ Server ip: file path target path such as: scp-r test@www.bkjia.com:/test/testFolder/Users/test/

The blue font is the content to be replaced.

Configure scp to transfer files between Linux and Unix without a password

Cp/scp command + scp command in Linux

CentOS cannot use scp command Solution

Copy files between two Linux Hosts using scp

Use the scp command to transfer files between Linux Hosts

Use scp server to implement information interaction between Linux and Linux

This article permanently updates the link address:

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.