Cross-file transfer between linux servers, linux server files

Source: Internet
Author: User
Tags scp command

Cross-file transfer between linux servers, linux server files
Scp command

1. Local> Remote Server

Scp-r/home/name/Hi root@192.168.0.1:/home/name

/Home/name/hello is the source directory, test2 is the target directory, root@192.168.0.1 is the remote server user name and IP address.

-R indicates recursive transmission, and a file can be sent without adding

2. Remote Server-> Local Machine

Scp-r root@192.168.0.1:/home/name/hello0/home/name/hello1

The root@192.168.0.1 is the username and IP address of the remote server,/home/name/hello0 is the source directory,/home/name/hello1

Netcat Tool

Installation required

Send

Nc-l 12345 <ttt

Receive

Nc-n ip 12345> ttt

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.