Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example of installation and use of rz/sz under Linux

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The new CVM does not support uploading and downloading with SecureCRT, and no rz command was found. Record how to install the rz/sz command.

I. tool description

In ssh login software such as SecureCRT, upload / download files by entering the rz/sz command in the Linux interface. For some versions of linux, rz/sz is not installed by default, so it needs to be installed manually.

Sz: sends (send) the selected files to the local machine

Rz: running this command will pop up a file selection window to upload files from the local selection to the server (receive).

Download the installation package lrzsz-0.12.20.tar.gz: http://www.ohse.de/uwe/software/lrzsz.html

II. Software installation

First of all, upload the installation files to the tmp directory through the sftp tool.

# cd tmp# wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz# tar zxvf lrzsz-0.12.20.tar.gz & & cd lrzsz-0.12.20#. / configure & & make & & make install

The above installation process installs lsz and lrz to the / usr/local/bin/ directory by default. Create a soft link below and name it rz/sz:

# cd / usr/bin# ln-s / usr/local/bin/lrz rz# ln-s / usr/local/bin/lsz sz

III. Instructions for use

Open the SecureCRT software-> Options-> session options-> X/Y/Zmodem to set the directory for uploading and downloading, and then when you log in to the linux terminal with SecureCRT:

# sz filename (send files to the client, zmodem reception can be started automatically) # rz (upload files from the client to the linux server)

The rz command can also be uploaded using UI in SecureCRT.

4. You can also use yum to install

# yum install lrzsz

OK, so you can use SecureCRT to upload and download files.

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report