Between Linux and Windows-File Transfer tool Rzsz

Source: Internet
Author: User
Tags ftp ftp commands ssh linux

Rzsz Introduction

Generally speaking, the Linux server is mostly through the SSH client for remote landing and management, using SSH landing Linux host, how to quickly and local machine file interaction, that is, upload and download files to the server and local;

The two SSH-related commands provide a convenient operation:

SZ: Sends the selected file (send) to the local machine

RZ: Running this command pops up a file selection window and uploads it to the Linux server from the local selection file

RZ, SZ is Linux/unix with Windows Zmodem File Transfer command-line tool, Windows side needs to support Zmodem TELNET/SSH clients, such as: SecureCRT, with SecureCRT Landing to unix/ Linux hosts (either Telnet or SSH). Run the command RZ, that is, receive files, SECURECRT will pop up the file selection dialog box, select the file to close the dialog box, the file will be uploaded to the current directory (the default use of binary transmission), run the command sz <file1name> <file2name "..." (You can transfer multiple files at the same time) is the file to Windows (the saved location can be configured, described later).

Advantages: Easier than FTP commands, and the server does not have to open the FTP service.

Installing the RZSZ Package

In general, RZSZ packages are installed when you install a Linux system, but some custom-installed Linux may not install RZSZ packs to the system, which is especially inconvenient for transferring files with Windows tools such as SECURECRT. You can manually install the RZSZ package after you install Liunx.

1. Get Rzsz Package

Mode 1: Sign in to Linux,

Use the command wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz download.

Mode 2: Access to http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz under Windows

Download the rzsz-3.48.tar.gz software package and upload it to the Linux server using FTP or other file transfer tools

2, unpack the software package

# tar ZXVF rzsz-3.48.tar.gz

As shown in the figure, a directory named SRC will be extracted.

3. Install RZSZ software package (using make POSIX)

Note: Be sure to enter the Rzsz package to extract the directory, this case is the/HOME/SRC directory

# CD SRC

# ls

As shown in the picture: The Rzsz package installation is different from the conventional GNU software, and there is no configure (configuration) and make install (installation process) files.

Related Article

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.