Interesting tips on SecureCRT in Linux

Source: Internet
Author: User

Sz/rz usage

Generally, ssh clients are used for remote login and management. After using ssh to log on to a linux host, how can I quickly interact with files on a local machine, that is, uploading and downloading files to the server and local device;

Two commands related to ssh can provide convenient operations:

Sz: download files from the server to the local PC

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

1. Install the sz/rz Toolkit:

(1) download the software rzsz-3.48.tar.gz,, rzsz-3.48.tar.gz.

Free in http://linux.bkjia.com/

The username and password are both www.bkjia.com

Detailed tips for downloading directories in/June/25th/SecureCRT in Linux

----------------------------------------------------------------------------------

(2) extract:

$ Tar zxvf rzsz-3.48.tar.gz

(3) installation:

Go to rzsz-3.48 first:

$ Rzsz-3.48 cd

Then select the location parameter of make based on your system. Generally, choose posix or linux. Run the following command:

$ Make posix

We can clearly see the work in this step from the output section:

(4) to facilitate the use of this tool, copy the relevant files to the/usr/bin directory. Here, you only need to copy two files, rz and sz. The command is:

$ Cp rz sz/usr/bin

2. Usage

A. Copy/download files from windows to Linux (such as SecureCRT ):

After running rz, the file selection dialog box in WIndows is displayed automatically. After selecting the corresponding file, add the file, and click OK, transfer the file in windows and copy it to Linux.

B. Copy files from Linux to a folder in Windows:

Run the following command:

$ Sz file_name

You can copy the file file_name in the current Linux folder to the corresponding directory of Windows. The Windows directory is set by the tool you are running, for example, SecureCRT can be set in "session options"> X/Y/Zmodem.

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.