Transferring files between two Linux machines

Source: Internet
Author: User

Recently the lab has taken over a server, often need to use the server and its own host file transfer, so, here to introduce some of the two Linux hosts between the operation, convenient for later.

1. Linux, Windows host remote access to Linux servers:

Installing VNC server on the server, installing the VNC Viewer on the client machine, and then referencing some tutorials to do it.

2. Two Linux hosts for file upload and file download.

To facilitate the description, we call the server Linux1, my host is Linux2.

2.1 Below we describe how to copy files from Linux1 back to the local PC LINUX2:

  SCP [Email Protected]:/home/emos/a.txt/home/huabo

SCP [email protected] IP: Server file path local file storage path

2.2 Upload files from local PC Linux2 to server Linux1:

SCP /home< Span style= "color: #000000;" >/huabo/b. tar. GZ [Email protected]172.19.2.75:/home/emos/huabo

SCP local file path user name @server IP: Server storage Path

Transferring files between two Linux machines

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.