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.