Use rz/sz to transmit files on the secureCRT Terminal

Source: Internet
Author: User

Configure the environment in this article

1. Win8 + secure CRT 7.1.3

2. wmware10.0.0 + ubuntu 12.04

3. godson notebook + debian 7.3

First, you need to install secure CRT 7.1.3 on the win8 laptop.

Enter

Sudo apt-get install lrzsz

Install rz/sz Software

Next, Open secure CRT.

Click file> quick connect in the upper left corner.

Select ssh2

Enter the IP address of the linux host you want to log on to in the hostname field.

You can use ifconfig to Query IP addresses.

Port 22

Firewall none

Username is the user you want to log on.

Select connect directly.

Next, follow the prompts to connect your host.

Now let's test how to transfer files on Windows and linux Through rz/sz.

The functions of the two commands rz and sz are as follows:

Rz: receives files from windows to linux.

Sz filename: Send files from linux host to win

So where is the sending/receiving directory in win?

On secure CRT

Options-> session options-> X/Y/Z modem

The address is displayed.

Download indicates the position of the file on win after the file is sent using sz on linux.

Upload makes no sense, because using rz has nothing to do with this directory.

Now the experiment is started.

SZ:

We are in the terminal

Touch sz_test

Create a file

Then use the command

Sz sz_test

After successful download, we can see the file in the download directory of win.

Now

RZ:

Create a file on win

Rz_test.txt

Then use the command on the terminal

Rz

Then a window appears, asking you to select the location where the file to be uploaded is located.

Double-click the file. Note that the file to send in the lower-left corner is displayed.

Then, send the file to the terminal.

This experiment was successful in ubuntu12.04 in the Virtual Machine and debian7.3 in the Dragon core notebook.

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.