Xshell implementing Windows Upload files to a Linux host

Source: Internet
Author: User
Tags new set rsync

Often there is such a requirement that we download packages in Windows, how to upload to a remote Linux host? And how to download packages from Linux hosts to Windows; Before my practice now looks good stupid good cumbersome, but also achieved the purpose, stupid people have this method;

How I do it:

1. Open a local Linux virtual machine, use mount to mount Windows shared folder to Linux, and then copy the data into the Linux virtual machine; (often the first step is not smooth, unable to mount Windows folder)

2, in the local Linux virtual machine using rsync synchronous copy of the data to the remote Linux host, need both sides to install Rsync package, openssh-clients package; it takes time to encounter a larger copy of the file;

3, there is a way to directly use wget direct download, in advance there is a download URL; most are downloaded to Windows Local and then uploaded to the remote Linux host;

Here is an easy way to upload Windows files to Linux or download from Linux to Windows locally;

1, the use of our common Xshell login tool, the new set up a remote session, fill in the IP address and user name password, select the bottom Zmodem, fill in the download path, load the path; 2 paths can also be different;

2, on the Linux host, install the upload download Kit RZ and SZ

If you do not know the specific name of the package you want to install, you can use the Yum provides */name to find the system's own package information;

[email protected] src]# Yum provides */rz

Lrzsz-0.12.20-27.1.el6.i686:the LRZ and LSZ Modem communications programs

Repo:base

Filename:/usr/bin/rz

The package name and version are generally listed, as well as the installation path, and after the package name is queried, the Yum install-y package name is used for installation.

Lrzsz package installation, including uploading RZ, download sz command, only need to install this package.

[email protected] src]# Yum install-y lrzsz

3, upload files from windows, upload the command for RZ; at the Linux command line, enter RZ, the uploaded file is in the current command line directory;

[Email protected] src]# RZ

After entering the RZ command, the dialog will pop up, select the file you want to upload, select open to upload to the Linux host. After uploading, you can use LS to view;

4, download the file from the Linux host, download the command for SZ, followed by the file name to download, you can choose to download the saved folder;

[Email protected] src]# sz nginx-1.6.2.tar.gz

This method is relatively simple and fast, can meet the daily needs, there is a better way to welcome each other to communicate.

Xshell Login CentOS 6.3 Chinese garbled solution http://www.linuxidc.com/Linux/2013-06/86600.htm

VirtualBox4.12 Text installs CentOS 5.4 and Xshell connection tutorial PDF http://www.linuxidc.com/Linux/2013-06/85575.htm

Xshell connection CentOS6.5 iptables or LS output garbled http://www.linuxidc.com/Linux/2014-06/103725.htm

VMware Linux uses Xshell login http://www.linuxidc.com/Linux/2012-06/62546.htm

Telnet to Linux http://www.linuxidc.com/Linux/2015-03/114947.htm using the Xshell key authentication mechanism

This article permanently updates the link address : http://www.linuxidc.com/Linux/2015-05/117975.htm

Xshell implementing Windows Upload files to a Linux host

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.