Xshell allows you to upload files to a Linux host in Windows,

Source: Internet
Author: User

[Switch] Xshell allows you to upload files to a Linux host in Windows,

This is often the case. How do I upload the software package we downloaded in Windows to a remote Linux host? How can I download the software package from a Linux host to Windows? My previous practices seem so stupid and cumbersome, but they have also achieved the goal. How can I download the software package from a Linux host;

How do I operate:

1. Open a local Linux virtual machine, mount the Windows shared folder to Linux, and copy the data to the Linux virtual machine. (the first step is usually not smooth, windows folders cannot be mounted)

2. Use rsync to synchronously copy data to a remote Linux host on a local Linux Virtual Machine. Both parties must install the rsync package and openssh-clients package. It may take a long time to copy a larger file;

3. Another method is to directly use wget for direct download. A download URL exists in advance. Most of them are downloaded to a local Windows host and then uploaded to a remote Linux host;

The following describes a simple method to upload Windows files to Linux, or download files from Linux to Windows;

1. Use our commonly used Xshell logon tool to create a remote session, fill in the IP address and user name and password, select the bottom ZMODEM, fill in the download path, and load the path; two paths can be the same or different;

2. Install the upload and download tool kits rz and sz on the Linux host.

If you do not know the specific name of the installation package, you can use yum provides */name to find the information of the built-in software package;

[Root @ localhost 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 name and version of the software package and the installation path are generally listed. After the software package name is queried, use the yum install-y package name for installation.

After installing the lrzsz package, you can upload the rz package and download the sz command. You only need to install this package.

[Root @ localhost src] # yum install-y lrzsz

3. upload a file from Windows with the Upload Command rz. Enter rz in the Linux Command Line. the uploaded file is in the directory of the current command line;

[Root @ localhost src] # rz

After you enter the rz command, a dialog box will pop up. Select the file you want to upload and select Open to upload the file to the Linux host. You can use ls to view the uploaded files;

4. download the file from the Linux host. The download command is sz, followed by the file name to be downloaded. You can select the download save folder;

[Root @ localhost src] # sz nginx-1.6.2.tar.gz

This method is relatively simple and quick, and can meet daily needs. You are welcome to have a better way to communicate with each other.

Http://www.linuxidc.com/Linux/2013-06/86600.htm for Chinese garbled characters of Xshell login CentOS 6.3

VirtualBox4.12 text installation 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 Login http://www.linuxidc.com/Linux/2012-06/62546.htm with Xshell

Remote Linux http://www.linuxidc.com/Linux/2015-03/114947.htm login using Xshell Key Authentication Mechanism

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.